diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2024-06-08 15:16:41 -0500 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2024-06-08 16:46:45 -0500 |
commit | 2900d035f45fa04078ce9b1ec1e980b113f16013 (patch) | |
tree | 6c0a2db56f8f91467598afcfceea2c5315da505a /llvm/lib/MC/MCContext.cpp | |
parent | c2d68c42a44853dccf8df736ed9be85a8be3ef70 (diff) | |
download | llvm-2900d035f45fa04078ce9b1ec1e980b113f16013.zip llvm-2900d035f45fa04078ce9b1ec1e980b113f16013.tar.gz llvm-2900d035f45fa04078ce9b1ec1e980b113f16013.tar.bz2 |
[InstCombine] Propagate flags when folding consecutative shifts
When we fold `(shift (shift C0, x), C1)` we can propagate flags that
are common to both shifts.
Proofs: https://alive2.llvm.org/ce/z/LkEzXD
Closes #94872
Diffstat (limited to 'llvm/lib/MC/MCContext.cpp')
0 files changed, 0 insertions, 0 deletions