[llvm] [NFC][VPlan] Rename VPEVLBasedIVPHIRecipe to VPCurrentIterationPHIRecipe (PR #177114)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 9 04:02:04 PST 2026
================
@@ -3264,9 +3264,10 @@ void VPlanTransforms::addExplicitVectorLength(
auto *CanIVTy = LoopRegion->getCanonicalIVType();
VPValue *StartV = CanonicalIVPHI->getStartValue();
- // Create the ExplicitVectorLengthPhi recipe in the main loop.
- auto *EVLPhi = new VPEVLBasedIVPHIRecipe(StartV, DebugLoc::getUnknown());
- EVLPhi->insertAfter(CanonicalIVPHI);
+ // Create the CurrentIteration recipe in the main loop.
----------------
fhahn wrote:
nit: while you are here, would be good to clarify main -> vector loop
```suggestion
// Create the CurrentIteration recipe in the vector loop.
```
https://github.com/llvm/llvm-project/pull/177114
More information about the llvm-commits
mailing list