llvm-project
[InstCombine] Handle commuted pattern for `((X s/ C1) << C2) + X`
#121737
Merged

Commits
  • [InstCombine] Add pre-commit tests. NFC.
    dtcxzyw committed 1 year ago
  • [InstCombine] Handle commuted pattern for `((X s/ C1) << C2) + X`
    dtcxzyw committed 1 year ago
  • [InstCombine] Move the logic into `foldAddLikeCommutative`
    dtcxzyw committed 1 year ago
  • [InstCombine] Fix coding style. NFC.
    dtcxzyw committed 1 year ago
Loading