[llvm] [VPlan] Fix header masks in EVL tail folding (PR #150202)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 29 08:26:32 PDT 2025


================
@@ -2267,12 +2271,28 @@ static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
     }
   }
 
+  Type *EVLType = TypeInfo.inferScalarType(&EVL);
----------------
fhahn wrote:

hmm, I think I am still missing why we first need to remove the recipes and then update the header mask and manually remove them?

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


More information about the llvm-commits mailing list