SLP Vectorizer: Fix a bug in the code that does CSE on the generated gather sequences.
authorNadav Rotem <nrotem@apple.com>
Sun, 23 Jun 2013 21:57:27 +0000 (21:57 +0000)
committerNadav Rotem <nrotem@apple.com>
Sun, 23 Jun 2013 21:57:27 +0000 (21:57 +0000)
commit722b0a4d293b16eebaed94ae65d5f11743cbcea5
treea8c2209653dfad4d2f5d9a5e8c0ad92e1878f454
parent787ad64b989937e0d79e176b0bf9af4a85a839d0
SLP Vectorizer: Fix a bug in the code that does CSE on the generated gather sequences.
Make sure that we don't replace and RAUW two sequences if one does not dominate the other.

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