SLP Vectorizer: Disable the vectorization of non power of two chains, such as <3...
authorNadav Rotem <nrotem@apple.com>
Fri, 26 Jul 2013 22:53:11 +0000 (22:53 +0000)
committerNadav Rotem <nrotem@apple.com>
Fri, 26 Jul 2013 22:53:11 +0000 (22:53 +0000)
commita629c3a4f05a8e7976142577872aef95f88c86a0
treec7ed4ca493d75e9987fdfdf2ada53af1a6a70fa0
parentc1bb2d432501dabdfcb1e78eccfb7377664c4d14
SLP Vectorizer: Disable the vectorization of non power of two chains, such as <3 x float>, because we dont have a good cost model for these types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187265 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/SLPVectorizer.cpp
test/Transforms/SLPVectorizer/X86/cycle_dup.ll
test/Transforms/SLPVectorizer/X86/odd_store.ll