SLP Vectorier: Don't vectorize really short chains because they are already handled...
authorNadav Rotem <nrotem@apple.com>
Fri, 26 Jul 2013 23:07:55 +0000 (23:07 +0000)
committerNadav Rotem <nrotem@apple.com>
Fri, 26 Jul 2013 23:07:55 +0000 (23:07 +0000)
commit67a38a2875f05ea9c219ab73c4398ee675eb4292
treea5858fa365316a162134620715e4416ef74cb8dc
parenta629c3a4f05a8e7976142577872aef95f88c86a0
SLP Vectorier:  Don't vectorize really short chains because they are already handled by the SelectionDAG store-vectorizer, which does a better job in deciding when to vectorize.

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