[llvm] [LV] Add support for widening loads/stores to a UF x VF (PR #217670)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 02:00:43 PDT 2026


================
@@ -5752,6 +5752,9 @@ DenseMap<const SCEV *, Value *> LoopVectorizationPlanner::executePlan(
                  *PSE.getSE(), TTI, Config.CostKind, BestVF, BestUF);
   // TODO: Move to VPlan transform stage once the transition to the VPlan-based
   // cost model is complete for better cost estimates.
+  if (TTI.hasMultipleVectorLoadStore(BestUF))
----------------
MacDue wrote:

Sure (though for this patch we only run the transform if tail-folding is disabled). 

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


More information about the llvm-commits mailing list