diff options
author | Ricardo Jesus <rjj@nvidia.com> | 2025-04-30 08:22:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-30 08:22:38 +0100 |
commit | c91c3f930cfc75eb4e8b623ecd59c807863aa6c0 (patch) | |
tree | 3f57a042f0dbe7b341a4ecb47c91e49506c91190 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | b2627851373e7afed1f7b14d7013edf41d20a4f5 (diff) | |
download | llvm-c91c3f930cfc75eb4e8b623ecd59c807863aa6c0.zip llvm-c91c3f930cfc75eb4e8b623ecd59c807863aa6c0.tar.gz llvm-c91c3f930cfc75eb4e8b623ecd59c807863aa6c0.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions