OSDN Git Service

Fix PR16797 - Support PHINodes with multiple inputs from the same basic block.
authorNadav Rotem <nrotem@apple.com>
Mon, 12 Aug 2013 17:46:44 +0000 (17:46 +0000)
committerNadav Rotem <nrotem@apple.com>
Mon, 12 Aug 2013 17:46:44 +0000 (17:46 +0000)
commit353476cbbb80881a754a90abc13851a884a4e26c
treee2a327d18b2e12fd428fdefc34823b731d43301e
parent225396c2b52a50fa8a781e9a7b5cc81dceae010a
Fix PR16797 - Support PHINodes with multiple inputs from the same basic block.
Do not generate new vector values for the same entries because we know that the incoming values
from the same block must be identical.

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