Commit 6a46c6c
authored
Ensure KnownBits passed when calculating from range md has right size (#132985)
KnownBits passed to computeKnownBitsFromRangeMetadata must have the same
bit width as the range metadata bit width. Otherwise the calculated
results will be incorrect.
---------
Signed-off-by: John Lu <[email protected]>1 parent dcc2182 commit 6a46c6c
File tree
2 files changed
+10
-0
lines changed- llvm/lib
- Analysis
- CodeGen/SelectionDAG
2 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
433 | 437 | | |
434 | 438 | | |
435 | 439 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9176 | 9176 | | |
9177 | 9177 | | |
9178 | 9178 | | |
| 9179 | + | |
| 9180 | + | |
| 9181 | + | |
| 9182 | + | |
| 9183 | + | |
| 9184 | + | |
9179 | 9185 | | |
9180 | 9186 | | |
9181 | 9187 | | |
| |||
0 commit comments