Commit 0e7b754
authored
[ValueTracking] Squash compile-time regression from 66badf2 (llvm#122700)
66badf2 (VT: teach a special-case optz about samesign) introduced a
compile-time regression due to the use of CmpPredicate::getMatching,
which is unnecessarily inefficient. Introduce
CmpPredicate::getPreferredSignedPredicate, which alleviates the
inefficiency problem and squashes the compile-time regression.1 parent 44d9bee commit 0e7b754
File tree
3 files changed
+15
-4
lines changed- llvm
- include/llvm/IR
- lib
- Analysis
- IR
3 files changed
+15
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9482 | 9482 | | |
9483 | 9483 | | |
9484 | 9484 | | |
9485 | | - | |
9486 | | - | |
| 9485 | + | |
| 9486 | + | |
| 9487 | + | |
9487 | 9488 | | |
9488 | 9489 | | |
9489 | 9490 | | |
| |||
9492 | 9493 | | |
9493 | 9494 | | |
9494 | 9495 | | |
9495 | | - | |
9496 | | - | |
| 9496 | + | |
| 9497 | + | |
9497 | 9498 | | |
9498 | 9499 | | |
9499 | 9500 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3950 | 3950 | | |
3951 | 3951 | | |
3952 | 3952 | | |
| 3953 | + | |
| 3954 | + | |
| 3955 | + | |
| 3956 | + | |
3953 | 3957 | | |
3954 | 3958 | | |
3955 | 3959 | | |
| |||
0 commit comments