llvm-project/llvm/lib/Transforms/Vectorize
Matthew Simpson 235e479984 Reapply "[SLP] Initialize VectorizedValue when gathering"
The test case included in r279125 exposed existing undefined behavior in the
SLP vectorizer that it did not introduce. This patch reapplies the original
patch, but modifies the test case to avoid hitting the undefined behavior. This
allows us to close PR28330 while keeping the UBSan bot happy. The undefined
behavior the original test uncovered will be addressed in a follow-on patch.

Reference: https://llvm.org/bugs/show_bug.cgi?id=28330
llvm-svn: 279370
2016-08-20 14:49:02 +00:00
..
BBVectorize.cpp [BBVectorize] Don't vectorize selects with a scalar condition and vector operands. 2016-05-26 18:43:57 +00:00
CMakeLists.txt Add LoadStoreVectorizer pass 2016-06-30 23:11:38 +00:00
LLVMBuild.txt Update libdeps since TLI was moved from Target to Analysis in r226078. 2015-01-15 05:21:00 +00:00
LoadStoreVectorizer.cpp [LSV] Use a set rather than an ArraySlice at the end of getVectorizablePrefix. NFC 2016-08-13 00:04:12 +00:00
LoopVectorize.cpp [LoopVectorize] Don't copy std::vector in for-range loop. 2016-08-19 12:44:24 +00:00
SLPVectorizer.cpp Reapply "[SLP] Initialize VectorizedValue when gathering" 2016-08-20 14:49:02 +00:00
Vectorize.cpp Add LoadStoreVectorizer pass 2016-06-30 23:11:38 +00:00