[llvm] [LV] Add support for widening loads/stores to a VF multiple (PR #217670)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 15 00:19:37 PDT 2026
================
@@ -5754,6 +5754,8 @@ 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.
+ RUN_VPLAN_PASS(VPlanTransforms::scaleMemoryAccessesByUF, BestVPlan, BestVF,
----------------
fhahn wrote:
It would be nice if we could only run this when the target supports any such wide load/store instructions
https://github.com/llvm/llvm-project/pull/217670
More information about the llvm-commits
mailing list