[llvm] [VPlan] Delay adding canonical IV increment. (PR #82270)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 9 04:27:13 PST 2024
================
@@ -7428,6 +7428,14 @@ LoopVectorizationPlanner::executePlan(
"expanded SCEVs to reuse can only be used during epilogue vectorization");
(void)IsEpilogueVectorization;
+ TailFoldingStyle Style =
+ CM.getTailFoldingStyle(!isIndvarOverflowCheckKnownFalse(&CM, BestVF));
+ // When not folding the tail, we know that the induction increment will not
+ // overflow.
----------------
fhahn wrote:
PR has now landed, updated the code here.
https://github.com/llvm/llvm-project/pull/82270
More information about the llvm-commits
mailing list