[llvm] [VPlan] Delay adding canonical IV increment. (PR #82270)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 11 07:18:21 PST 2024
================
@@ -1820,6 +1776,79 @@ void VPlanTransforms::createInterleaveGroups(
}
}
+void VPlanTransforms::lowerCanonicalIV(
+ VPlan &Plan, bool HasNUW, bool DataAndControlFlowWithoutRuntimeCheck) {
+ auto *CanIV = Plan.getCanonicalIV();
+
+ VPBasicBlock *EB = Plan.getVectorLoopRegion()->getExitingBasicBlock();
----------------
ayalz wrote:
```suggestion
VPBasicBlock *Latch = Plan.getVectorLoopRegion()->getExitingBasicBlock();
```
?
https://github.com/llvm/llvm-project/pull/82270
More information about the llvm-commits
mailing list