Commit 2f33925
committed
[SystemZ] Use getSignedConstant()
This will avoid assertion failures once we disable implicit
truncation in getConstant().
Inside adjustSubwordCmp() I ended up suppressing the issue with
an explicit cast, because this code deals with a mix of unsigned
and signed immediates.1 parent 0cb1cca commit 2f33925
File tree
2 files changed
+11
-9
lines changed- llvm/lib/Target/SystemZ
2 files changed
+11
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
674 | | - | |
| 674 | + | |
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
| |||
2024 | 2024 | | |
2025 | 2025 | | |
2026 | 2026 | | |
2027 | | - | |
2028 | | - | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
2029 | 2030 | | |
2030 | 2031 | | |
2031 | 2032 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1444 | 1444 | | |
1445 | 1445 | | |
1446 | 1446 | | |
1447 | | - | |
1448 | | - | |
| 1447 | + | |
| 1448 | + | |
1449 | 1449 | | |
1450 | 1450 | | |
1451 | 1451 | | |
1452 | 1452 | | |
1453 | 1453 | | |
1454 | | - | |
1455 | | - | |
| 1454 | + | |
| 1455 | + | |
1456 | 1456 | | |
1457 | 1457 | | |
1458 | 1458 | | |
| |||
2578 | 2578 | | |
2579 | 2579 | | |
2580 | 2580 | | |
2581 | | - | |
| 2581 | + | |
2582 | 2582 | | |
2583 | 2583 | | |
2584 | 2584 | | |
| |||
4623 | 4623 | | |
4624 | 4624 | | |
4625 | 4625 | | |
4626 | | - | |
| 4626 | + | |
| 4627 | + | |
4627 | 4628 | | |
4628 | 4629 | | |
4629 | 4630 | | |
| |||
0 commit comments