[llvm] [LoopVectorize] Improve Vectorization of Low Trip Count Loops (PR #195823)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 05:01:46 PDT 2026


================
@@ -5871,6 +5894,18 @@ LoopVectorizationPlanner::computeBestVF() {
     if (ConsiderRegPressure)
       RUs = calculateRegisterUsageForPlan(*P, VFs, TTI);
 
+    // For loops where the Trip Count is below the Tail Folding Threshold, only
----------------
sdesmalen-arm wrote:

nit:
```suggestion
    // For loops where the trip count is below the TailFoldingThreshold, only
```

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


More information about the llvm-commits mailing list