Commit 66badf2
authored
VT: teach a special-case optz about samesign (llvm#122590)
There is a narrow special-case in isImpliedCondICmps that can benefit
from being taught about samesign. Since it costs us nothing to implement
it, teach it about samesign, for completeness. This patch marks the
completion of the effort to teach ValueTracking about samesign.1 parent 26b4a0a commit 66badf2
File tree
2 files changed
+6
-10
lines changed- llvm
- lib/Analysis
- test/Analysis/ValueTracking
2 files changed
+6
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9495 | 9495 | | |
9496 | 9496 | | |
9497 | 9497 | | |
9498 | | - | |
| 9498 | + | |
| 9499 | + | |
9499 | 9500 | | |
9500 | 9501 | | |
9501 | 9502 | | |
| |||
9504 | 9505 | | |
9505 | 9506 | | |
9506 | 9507 | | |
9507 | | - | |
| 9508 | + | |
| 9509 | + | |
9508 | 9510 | | |
9509 | 9511 | | |
9510 | 9512 | | |
| |||
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
| 210 | + | |
214 | 211 | | |
215 | 212 | | |
216 | 213 | | |
| |||
239 | 236 | | |
240 | 237 | | |
241 | 238 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
| 239 | + | |
246 | 240 | | |
247 | 241 | | |
248 | 242 | | |
| |||
0 commit comments