[llvm] [VPlan] Delay adding canonical IV increment. (PR #82270)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 13 03:12:20 PST 2024
================
@@ -1618,30 +1578,26 @@ bool VPlanTransforms::tryAddExplicitVectorLength(
auto *VPEVL = Builder.createNaryOp(VPInstruction::ExplicitVectorLength, AVL,
DebugLoc());
- auto *CanonicalIVIncrement =
- cast<VPInstruction>(CanonicalIVPHI->getBackedgeValue());
VPSingleDefRecipe *OpVPEVL = VPEVL;
+ VPRecipeBase *LatchTerm = Latch->getTerminator();
----------------
fhahn wrote:
Updated, thanks
https://github.com/llvm/llvm-project/pull/82270
More information about the llvm-commits
mailing list