[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


================
@@ -352,6 +352,20 @@ std::unique_ptr<VPlan> PlainCFGBuilder::buildPlainCFG(
   Plan->getEntry()->setOneSuccessor(getOrCreateVPBB(TheLoop->getHeader()));
   Plan->getEntry()->setPlan(&*Plan);
 
+  // Fix VPlan loop-closed-ssa exit phi's by add incoming operands to the
----------------
ayalz wrote:

```suggestion
  // Fix VPlan loop-closed-ssa exit phi's by adding incoming operands to the
```

https://github.com/llvm/llvm-project/pull/136455


More information about the llvm-commits mailing list