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

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

dtcxzyw merged 4 commits into llvm:main from dtcxzyw:perf/commuted-1
dtcxzyw
dtcxzyw [InstCombine] Add pre-commit tests. NFC.
01055b1a
dtcxzyw [InstCombine] Handle commuted pattern for `((X s/ C1) << C2) + X`
79c30386
dtcxzyw dtcxzyw requested a review from goldsteinn goldsteinn 348 days ago
dtcxzyw dtcxzyw requested a review from nikic nikic 348 days ago
llvmbot llvmbot added llvm:instcombine
llvmbot llvmbot added llvm:transforms
llvmbot
nikic
nikic approved these changes on 2025-01-06
dtcxzyw [InstCombine] Move the logic into `foldAddLikeCommutative`
31a6f4a6
nikic
nikic commented on 2025-01-06
dtcxzyw [InstCombine] Fix coding style. NFC.
4a615c32
dtcxzyw dtcxzyw merged 69ba5657 into main 348 days ago
dtcxzyw dtcxzyw deleted the perf/commuted-1 branch 348 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone