Alive2: https://alive2.llvm.org/ce/z/dxxD7B
Fixes: https://github.com/llvm/llvm-project/issues/60690
Signed-off-by: Jun Zhang <jun@junz.org>
Paths
| Differential D146637
[InstCombine] Try to recognize bswap pattern when calling funnel shifts ClosedPublic Authored by junaire on Mar 22 2023, 9:00 AM.
Details Summary Alive2: https://alive2.llvm.org/ce/z/dxxD7B Signed-off-by: Jun Zhang <jun@junz.org>
Diff Detail
Event Timeline
Comment Actions As @RKSimon said, this transform is in the wrong place. It has nothing to do with shuffled intrinsic operands... This revision now requires changes to proceed.Mar 22 2023, 10:38 AM junaire retitled this revision from [InstCombine] Try to recognize bswap pattern when calling fshl to [InstCombine] Try to recognize bswap pattern when calling funnel shifts.Mar 22 2023, 10:14 PM
Comment Actions LGTM
This revision is now accepted and ready to land.Mar 23 2023, 4:05 AM This revision was landed with ongoing or failed builds.Mar 23 2023, 7:51 PM Closed by commit rGcea938390ea7: [InstCombine] Try to recognize bswap pattern when calling funnel shifts (authored by junaire). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 507951 llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/test/Transforms/InstCombine/bswap.ll
llvm/test/Transforms/InstCombine/fsh.ll
|
Why not use test matchBSwapOrBitReverse here?