SLPVectorize: Replace the code that checks for vectorization candidates in successor...
authorNadav Rotem <nrotem@apple.com>
Fri, 12 Jul 2013 00:04:18 +0000 (00:04 +0000)
committerNadav Rotem <nrotem@apple.com>
Fri, 12 Jul 2013 00:04:18 +0000 (00:04 +0000)
commit931b861e3dcf966fde46d57683013e74736eb448
treea0150891b9c88eb362e8cd0a87a6105ec918b2c0
parent2c3c7fd6960de68e8c27fdf8f7e73796acb5f4c5
SLPVectorize: Replace the code that checks for vectorization candidates in successor blocks with code that scans PHINodes.
Before we could vectorize PHINodes scanning successors was a good way of finding candidates. Now we can vectorize the phinodes which is simpler.

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