[llvm] [VPlan] Only use selectVectorizationFactor for cross-check (NFCI). (PR #103033)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Aug 20 09:02:27 PDT 2024
    
    
  
================
@@ -9828,21 +9824,19 @@ bool LoopVectorizePass::processLoop(Loop *L) {
   ElementCount UserVF = Hints.getWidth();
   unsigned UserIC = Hints.getInterleave();
 
-  // Plan how to best vectorize, return the best VF and its cost.
-  std::optional<VectorizationFactor> MaybeVF = LVP.plan(UserVF, UserIC);
+  // Plan how to best vectorize,
----------------
ayalz wrote:
```suggestion
  // Plan how to best vectorize.
```
https://github.com/llvm/llvm-project/pull/103033
    
    
More information about the llvm-commits
mailing list