Commit da2d057
committed
simplify: fully port CondBranch to C (const-fold + IntConvert fwd)
Adds IntConvert forwarding path: if CondBranch condition comes from
a widening IntConvert, forward the source register directly. Uses
hir_type_size_in_bytes for size comparison. No C++ fallback needed —
both paths (const-fold + IntConvert forwarding) now in C.1 parent 2cd03da commit da2d057
2 files changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2763 | 2763 | | |
2764 | 2764 | | |
2765 | 2765 | | |
2766 | | - | |
2767 | | - | |
| 2766 | + | |
2768 | 2767 | | |
2769 | 2768 | | |
2770 | 2769 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
485 | 500 | | |
486 | 501 | | |
487 | 502 | | |
| |||
0 commit comments