[llvm] [VPlan] Implement VPlan-based unit-strideness speculation (PR #182595)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 13 23:11:47 PDT 2026


================
@@ -5601,6 +5606,10 @@ void VPlanTransforms::makeMemOpWideningDecisions(VPlan &Plan, VFRange &Range,
         });
   }
 
+  if (EnableVPlanBasedStrideMV && !CostCtx.Config.OptForSize)
----------------
Mel-Chen wrote:

Maybe we should also consider low trip count scenarios. However, #197391 is currently removing this restriction.

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


More information about the llvm-commits mailing list