Commit 26aaf73
[VPlan] Restructure code for BranchOnCond codegen. (NFCI)
Reoder code to exit early if the BranchOnCond isn't in an exiting block.
This delays retrieving the parent region, which may not be present.
Split off from llvm#92651.1 parent 0ef5525 commit 26aaf73
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | 445 | | |
449 | 446 | | |
450 | 447 | | |
451 | 448 | | |
452 | 449 | | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | 450 | | |
458 | 451 | | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
| |||
0 commit comments