Commit 38678a9
authored
[DAG] getCarry - always succeed if we encounter a i1 type during trunc/ext peeling (#169777)
If we are force reconstructing a carry from a raw MVT::i1 type, make
sure we don't miss any cases while peeling through trunc/ext chains -
check for i1 types at the start of the while loop
Fixes #1696911 parent 76d5dd5 commit 38678a9
File tree
2 files changed
+6
-15
lines changed- llvm
- lib/CodeGen/SelectionDAG
- test/CodeGen/X86
2 files changed
+6
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3288 | 3288 | | |
3289 | 3289 | | |
3290 | 3290 | | |
| 3291 | + | |
| 3292 | + | |
| 3293 | + | |
3291 | 3294 | | |
3292 | 3295 | | |
3293 | 3296 | | |
| |||
3302 | 3305 | | |
3303 | 3306 | | |
3304 | 3307 | | |
3305 | | - | |
3306 | | - | |
3307 | | - | |
3308 | 3308 | | |
3309 | 3309 | | |
3310 | 3310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1517 | 1517 | | |
1518 | 1518 | | |
1519 | 1519 | | |
1520 | | - | |
1521 | | - | |
1522 | | - | |
1523 | | - | |
1524 | | - | |
1525 | | - | |
1526 | | - | |
1527 | | - | |
1528 | | - | |
1529 | | - | |
1530 | | - | |
1531 | | - | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
1532 | 1523 | | |
1533 | 1524 | | |
1534 | 1525 | | |
| |||
0 commit comments