Fix: SLPVectorizer tried to move an instruction which was replaced by a vector instru...
authorErik Eckstein <eeckstein@apple.com>
Thu, 28 Aug 2014 07:04:02 +0000 (07:04 +0000)
committerErik Eckstein <eeckstein@apple.com>
Thu, 28 Aug 2014 07:04:02 +0000 (07:04 +0000)
commitc84ba857eab2e943c6a7e9fe72d0f015f8a1c274
treec5219ad246e234d522f825c322a5c411d5a6b3bf
parent5ca793561ed7cb19308dcf48b0f8d363e3c8c1df
Fix: SLPVectorizer tried to move an instruction which was replaced by a vector instruction.

For a detailed description of the problem see the comment in the test file.
The problematic moveBefore() calls are not required anymore because the new
scheduling algorithm ensures a correct ordering anyway.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216656 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/SLPVectorizer.cpp
test/Transforms/SLPVectorizer/X86/crash_binaryop.ll [new file with mode: 0644]