]> granicus.if.org Git - llvm/commit
[SLP] Revert "Allow using of extra values in horizontal reductions."
authorMichael Kuperstein <mkuper@google.com>
Mon, 6 Feb 2017 21:50:59 +0000 (21:50 +0000)
committerMichael Kuperstein <mkuper@google.com>
Mon, 6 Feb 2017 21:50:59 +0000 (21:50 +0000)
commit1ba9ee9b50bd19c74983165fc4a6d02b7b1ed76c
tree3e813548113b748dff999747e7a56eb85d57083b
parent8425f9249757fa16076ce6b1c269a4b6f9253291
[SLP] Revert "Allow using of extra values in horizontal reductions."

This breaks when one of the extra values is also a scalar that
participates in the same vectorization tree which we'll end up
reducing.

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