[llvm] [LV] Replace remaining LogicalAnd to vp.merge in EVL optimization. (PR #184068)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 15 19:32:05 PDT 2026
================
@@ -3143,6 +3145,22 @@ void VPlanTransforms::optimizeEVLMasks(VPlan &Plan) {
OldRecipes.push_back(R);
}
}
+
+ // Remove remaining LogicalAnd(HeaderMask, Mask) to vp.merge (True, Mask,
+ // False, EVL)
----------------
lukel97 wrote:
Nit I think simplifyRecipes uses the && notation for LogicalAnd
```suggestion
// Replace remaining (HeaderMask && Mask) with vp.merge (True, Mask,
// False, EVL)
```
https://github.com/llvm/llvm-project/pull/184068
More information about the llvm-commits
mailing list