tryToVectorizeList function allows to reorder only 2 scalars. Patch
allows to reorder >2 scalars. Also, to avoid possible regressions, it
allows extra vectorization of the remaining parts of the scalars
elements if possible.
Part of D57059.
Paths
| Differential D103247
[SLP]Allow to reorder nodes with >2 scalar values. ClosedPublic Authored by ABataev on May 27 2021, 6:48 AM.
Details Summary tryToVectorizeList function allows to reorder only 2 scalars. Patch Part of D57059.
Diff Detail
Event Timeline
Comment Actions LGTM with a few minors
This revision is now accepted and ready to land.Jun 2 2021, 2:23 AM This revision was landed with ongoing or failed builds.Jun 3 2021, 10:03 AM Closed by commit rG89f3bc7698c5: [SLP]Allow to reorder nodes with >2 scalar values. (authored by ABataev). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 349597 llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/AArch64/gather-root.ll
llvm/test/Transforms/SLPVectorizer/X86/alternate-calls-inseltpoison.ll
llvm/test/Transforms/SLPVectorizer/X86/alternate-calls.ll
llvm/test/Transforms/SLPVectorizer/X86/alternate-int-inseltpoison.ll
llvm/test/Transforms/SLPVectorizer/X86/alternate-int.ll
llvm/test/Transforms/SLPVectorizer/X86/cmp_commute-inseltpoison.ll
llvm/test/Transforms/SLPVectorizer/X86/cmp_commute.ll
llvm/test/Transforms/SLPVectorizer/X86/crash_cmpop.ll
llvm/test/Transforms/SLPVectorizer/X86/phi.ll
llvm/test/Transforms/SLPVectorizer/X86/pr49081.ll
llvm/test/Transforms/SLPVectorizer/X86/resched.ll
llvm/test/Transforms/SLPVectorizer/X86/rgb_phi.ll
llvm/test/Transforms/SLPVectorizer/X86/sext-inseltpoison.ll
llvm/test/Transforms/SLPVectorizer/X86/sext.ll
|
typo