[llvm] [VPlan] Add exit phi operands during initial construction (NFC). (PR #136455)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 22 13:32:45 PDT 2025
================
@@ -9388,11 +9387,8 @@ collectUsersInExitBlocks(Loop *OrigLoop, VPRecipeBuilder &Builder,
continue;
----------------
ayalz wrote:
Independent: is this early continue needed:
```
// Nothing to do for unreachable exit blocks.
if (ExitVPBB->getNumPredecessors() == 0)
continue;
```
given that unreachable exit blocks have been emptied of their all their recipes - including phi ones?
https://github.com/llvm/llvm-project/pull/136455
More information about the llvm-commits
mailing list