[llvm] [VPlan] Update scalar induction resume values in VPlan. (PR #110577)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 5 23:56:00 PST 2024
================
@@ -7988,25 +8021,37 @@ EpilogueVectorizerEpilogueLoop::createEpilogueVectorizedLoopSkeleton(
Phi->removeIncomingValue(EPI.MemSafetyCheck);
}
- // Generate a resume induction for the vector epilogue and put it in the
- // vector epilogue preheader
+ // Generate a resume phi for the canonical induction of the vector epilogue
+ // and put it in the vector epilogue preheader, unless such a phi already
+ // exists there - and can be reused
----------------
ayalz wrote:
```suggestion
// exists there - and can be reused
```
```suggestion
// exists there - and can be reused.
```
https://github.com/llvm/llvm-project/pull/110577
More information about the llvm-commits
mailing list