Reworked the previously committed patch to insert shuffles for reused
extract element instructions in the correct position. Previous logic was
incorrect, and might lead to the crash with PHIs and EH instructions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 20955 Build 20955: arc lint + arc unit
Event Timeline
Comment Actions
This version makes a lot more sense. :)
lib/Transforms/Vectorize/SLPVectorizer.cpp | ||
---|---|---|
3112 | Please add a test for the case where NeedToShuffleReuses is true and E->ReorderIndices.empty() is false. |
lib/Transforms/Vectorize/SLPVectorizer.cpp | ||
---|---|---|
3112 | We already have that kind of test X86/vectorize-reorder-reuse.ll, but I'll add another one. |
Please add a test for the case where NeedToShuffleReuses is true and E->ReorderIndices.empty() is false.