[llvm] [LV] Support EVL for partial reduction and VPExpressionRecipe. (PR #205741)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 00:20:00 PDT 2026


================
@@ -338,6 +372,10 @@ void VPlanTransforms::optimizeEVLMasks(VPlan &Plan) {
     OldRecipes.push_back(R);
   }
 
+  // If the expression recipe is the only user of the header mask, delete it
+  // explicitly.
+  vputils::recursivelyDeleteDeadRecipes(HeaderMask);
----------------
lukel97 wrote:

Should this be moved into optimizeExpressionRecipeToEVL?

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


More information about the llvm-commits mailing list