[llvm] [VPlan] Implement VPlan-based unit-strideness speculation (PR #182595)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 4 01:17:08 PDT 2026
================
@@ -589,6 +589,13 @@ struct VPlanTransforms {
VPRecipeBuilder &RecipeBuilder,
VPCostContext &CostCtx);
+ /// \p MemOps must be updated to contain ones that haven't been processed by
+ /// the pass.
----------------
lukel97 wrote:
I believe the MemOps comment is outdated now since we don't modify it. Can we also add a description of the transform in the comment?
Something like "Searches MemOps for strided accesses where the stride is only known at runtime and predicates the plan so the strides become unit-strided"
https://github.com/llvm/llvm-project/pull/182595
More information about the llvm-commits
mailing list