When broadcasting invariant scalars into vectors, place the broadcast code in the...
authorNadav Rotem <nrotem@apple.com>
Thu, 29 Nov 2012 19:25:41 +0000 (19:25 +0000)
committerNadav Rotem <nrotem@apple.com>
Thu, 29 Nov 2012 19:25:41 +0000 (19:25 +0000)
commitdddaad624e388529f1f933939000d6dbc07c107d
treec6085af7e165ff98c232339fb56638d34a889e87
parentc8c3dbd91138972d000e2143b9c6070838c20bc1
When broadcasting invariant scalars into vectors, place the broadcast code in the preheader.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168927 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp