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

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


================
@@ -486,6 +486,13 @@ class LoopVectorizationPlanner {
   /// all profitable VFs in ProfitableVFs.
   VectorizationFactor computeBestVF();
 
+  /// \return The desired interleave count.
+  /// If interleave count has been specified by metadata it will be returned.
+  /// Otherwise, the interleave count is computed and returned. VF and LoopCost
----------------
ayalz wrote:

```suggestion
  /// Otherwise, the interleave count is computed and returned. \p VF and \p LoopCost
```

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


More information about the llvm-commits mailing list