[llvm] [VPlan] Split out optimizeEVLMasks. NFC (PR #174925)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 10 02:47:27 PST 2026


================
@@ -3083,43 +3099,6 @@ static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
       CmpInst::ICMP_ULT,
       Builder.createNaryOp(VPInstruction::StepVector, {}, EVLType), &EVL);
   HeaderMask->replaceAllUsesWith(EVLMask);
-  ToErase.push_back(HeaderMask->getDefiningRecipe());
----------------
lukel97 wrote:

zip_equals asserts the number of defined values are the same now so the old assert is now redundant

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


More information about the llvm-commits mailing list