[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


================
@@ -2501,35 +2501,41 @@ void VPlanTransforms::handleUncountableEarlyExit(
     if (!ExitIRI)
----------------
ayalz wrote:

Independent: have R iterate over VPEarlyExitBlock->phis()?

Independent: it's somewhat confusing having both VectorEarlyExitVPBB and VPEarlyExitBlock (connected to it). Perhaps the former is better called Middle2EarlyExitVPBB, along with Middle2EarlyExitB as its builder? Cf. https://llvm.org/docs/Vectorizers.html#early-exit-vectorization

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


More information about the llvm-commits mailing list