We can use ShuffleInstructionBuilder now for shrinking shuffle emission.
It allows to remove extra shuffle from the emitted code and reuse
original vector.
Part of D110978
Paths
| Differential D140499
[SLP]Use ShuffleInstructionBuilder for vector shrinking. ClosedPublic Authored by ABataev on Dec 21 2022, 1:54 PM.
Details Summary We can use ShuffleInstructionBuilder now for shrinking shuffle emission. Part of D110978
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 28 2022, 3:55 AM Closed by commit rGac01ae71f0c4: [SLP]Use ShuffleInstructionBuilder for vector shrinking. (authored by ABataev). · Explain WhyDec 28 2022, 6:11 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 485498 llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/X86/shrink_after_reorder.ll
llvm/test/Transforms/SLPVectorizer/X86/shrink_after_reorder2.ll
|