[llvm] [VPlan] Support VPWidenIntOrFpInductionRecipes with EVL tail folding (PR #144666)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 29 05:07:01 PDT 2025
================
@@ -2194,6 +2194,8 @@ static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
for (VPUser *U : to_vector(Plan.getVF().users())) {
if (auto *R = dyn_cast<VPVectorEndPointerRecipe>(U))
R->setOperand(1, &EVL);
+ if (auto *R = dyn_cast<VPWidenIntOrFpInductionRecipe>(U))
+ R->setVFValue(&EVL);
----------------
fhahn wrote:
independent: Could we assert there that there are no other unsuspported users of VF, as that would indicate a mis-compile? (e.g. if new recipes which use VF get added)
https://github.com/llvm/llvm-project/pull/144666
More information about the llvm-commits
mailing list