[llvm-branch-commits] [llvm] [VPlan] Implement VPlan-based unit-strideness speculation (PR #182595)
Ramkumar Ramachandra via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Mar 3 05:29:52 PST 2026
================
@@ -3750,6 +3752,47 @@ class VPExpandSCEVRecipe : public VPSingleDefRecipe {
#endif
};
+class VPExpandStridePredicatesRecipe : public VPSingleDefRecipe {
+ SCEVUnionPredicate StridePredicates;
+
+public:
+ VPExpandStridePredicatesRecipe(const SCEVUnionPredicate &StridePredicates)
+ : VPSingleDefRecipe(VPRecipeBase::VPExpandStridePredicatesSC, {}),
+ StridePredicates(StridePredicates) {}
----------------
artagnon wrote:
Hm, so this is a SingleDef with no operands? What would be the utility of introducing this new recipe with no operands, execution, or cost, as opposed to absorbing this into ExpandSCEV?
https://github.com/llvm/llvm-project/pull/182595
More information about the llvm-branch-commits
mailing list