[llvm] [LV][RFC] Generating conditional VPBB that will be skip when the mask is inactive in VPlan. (PR #141900)
Elvis Wang via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 5 23:48:24 PDT 2025
================
@@ -2202,6 +2219,8 @@ static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
for (VPValue *HeaderMask : collectAllHeaderMasks(Plan)) {
for (VPUser *U : collectUsersRecursively(HeaderMask)) {
auto *CurRecipe = cast<VPRecipeBase>(U);
+ if (replaceHeaderMaskToEVL(HeaderMask, CurRecipe))
----------------
ElvisWang123 wrote:
Yes, move the `optimizationConditionalVPBB()` pass after EVL transformation pass. thanks!
https://github.com/llvm/llvm-project/pull/141900
More information about the llvm-commits
mailing list