[llvm] [VPlan] Add exit phi operands during initial construction (NFC). (PR #136455)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 21 08:05:36 PDT 2025


================
@@ -352,6 +352,19 @@ std::unique_ptr<VPlan> PlainCFGBuilder::buildPlainCFG(
   Plan->getEntry()->setOneSuccessor(getOrCreateVPBB(TheLoop->getHeader()));
   Plan->getEntry()->setPlan(&*Plan);
 
+  // Add incoming operands for the VPIRInstructions wrapping the exit phis.
----------------
ayalz wrote:

based on their IR predecessors, as they still have no VPlan predecessors?

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


More information about the llvm-commits mailing list