[llvm] [VPlan] Unify inner and outer loop paths (NFCI). (PR #192868)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 19 13:20:17 PDT 2026


================
@@ -6677,13 +6662,11 @@ void LoopVectorizationPlanner::plan(ElementCount UserVF, unsigned UserIC) {
     VFCandidates.push_back(VF);
 
   CM.collectInLoopReductions();
-  for (const auto &VF : VFCandidates) {
-    // Collect Uniform and Scalar instructions after vectorization with VF.
+  for (auto VF : VFCandidates)
     CM.collectNonVectorizedAndSetWideningDecisions(VF);
-  }
----------------
artagnon wrote:

Could revert this to minimize the diff?

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


More information about the llvm-commits mailing list