[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
    
    
  
================
@@ -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
+  /// are the selected vectorization factor and the cost of the selected VF.
----------------
ayalz wrote:
```suggestion
  /// are the selected vectorization factor and its cost.
```
https://github.com/llvm/llvm-project/pull/149702
    
    
More information about the llvm-commits
mailing list