llvm-project
[InstCombine] Replace an integer comparison of a `phi` node with multiple `ucmp`/`scmp` operands and a constant with `phi` of individual comparisons of original intrinsic's arguments
#107769
Merged

[InstCombine] Replace an integer comparison of a `phi` node with multiple `ucmp`/`scmp` operands and a constant with `phi` of individual comparisons of original intrinsic's arguments #107769

Poseydon42
Poseydon42 Precommit tests
6f7fa77f
Poseydon42 Implement the optimization
c3424e7f
Poseydon42 Poseydon42 requested a review from dtcxzyw dtcxzyw 1 year ago
Poseydon42 Poseydon42 requested a review from nikic nikic 1 year ago
llvmbot llvmbot added llvm:transforms
llvmbot
nikic
nikic commented on 2024-09-08
Poseydon42 Address review comments
833e1681
nikic
nikic commented on 2024-09-08
Poseydon42 Address review comments
bbeded81
dtcxzyw dtcxzyw requested a review from goldsteinn goldsteinn 1 year ago
dtcxzyw
dtcxzyw commented on 2024-09-09
Poseydon42 Address review comments 2
3a8efdf2
dtcxzyw
dtcxzyw approved these changes on 2024-09-10
goldsteinn
goldsteinn commented on 2024-09-10
nikic
nikic approved these changes on 2024-09-11
Poseydon42 Add test case with one incoming value being ucmp/scmp
a7a2930c
Poseydon42 Remove unnecessary braces
b5fe2cc5
Poseydon42
nikic
Poseydon42
nikic
Poseydon42 Add comment about single-use check
45157a80
Poseydon42 Poseydon42 merged 21e3a212 into main 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone