Revert r205965, which essentially reverts r205018 for the second time.
authorChandler Carruth <chandlerc@gmail.com>
Thu, 1 May 2014 11:24:11 +0000 (11:24 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 1 May 2014 11:24:11 +0000 (11:24 +0000)
commit06ace3c8697a80f87773f51eb355c9f85fb01e61
tree0cdb4e3c7da27e4edbf38c8a21d63b240a21c7e1
parented37b773e1bc87a7e5280943e60451f4adc5abcb
Revert r205965, which essentially reverts r205018 for the second time.
=[

Turns out that this was the root cause of PR19621. We found a crasher
only recently (likely due to improvements elsewhere in the SLP
vectorizer) but the reduced test case failed all the way back to here.
I've confirmed that reverting this patch both fixes the reduced test
case in PR19621 and the actual source file that led to it, so it seems
to really be rooted here. I've replied to the commit thread with
discussion of my (feeble) attempts to debug this. Didn't make it very
far, so reverting now that we have a good test case so that things can
get back to healthy while the debugging carries on.

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