[llvm] [VPlan] Compute interleave count for VPlan. (PR #149702)

via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 5 02:52:31 PDT 2025


================
@@ -4669,11 +4662,11 @@ LoopVectorizationCostModel::selectInterleaveCount(VPlan &Plan, ElementCount VF,
   // 3. We don't interleave if we think that we will spill registers to memory
   // due to the increased register pressure.
 
-  if (!isScalarEpilogueAllowed())
+  if (!CM.isScalarEpilogueAllowed())
     return 1;
 
-  // Do not interleave if EVL is preferred and no User IC is specified.
----------------
ayalz wrote:

Comment dropped intentionally?

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


More information about the llvm-commits mailing list