llvm-project
c91c3f93 - [InstCombine] Do not combine shuffle+bitcast if the bitcast is eliminable. (#135769)

Commit
155 days ago
[InstCombine] Do not combine shuffle+bitcast if the bitcast is eliminable. (#135769) If we are attempting to combine shuffle+bitcast but the bitcast is pairable with a subsequent bitcast, we should not fold the shuffle as doing so can block further simplifications. The motivation for this is a long-standing regression affecting SIMDe on AArch64, introduced indirectly by the AlwaysInliner (1a2e77cf). Some reproducers: * https://godbolt.org/z/53qx18s6M * https://godbolt.org/z/o5e43h5M7
Author
Parents
Loading