[llvm] [VPlan] Delay adding canonical IV increment and exit branches. (PR #82270)

via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 15 11:23:24 PDT 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));
----------------
ayalz wrote:

```suggestion
      CM.getTailFoldingStyle(!isIndvarOverflowCheckKnownFalse(&CM, BestVF, BestUF));
```
?

https://github.com/llvm/llvm-project/pull/82270


More information about the llvm-commits mailing list