[llvm] [VPlan] Extract reverse operation for reverse accesses (PR #146525)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 31 02:34:36 PDT 2025
================
@@ -2283,6 +2309,7 @@ static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
HeaderMask->replaceAllUsesWith(EVLMask);
ToErase.push_back(HeaderMask->getDefiningRecipe());
}
+ convertToEVLReverse(Plan, TypeInfo, *AllOneMask, EVL);
----------------
fhahn wrote:
The code structure in the function seems inconsistent; converting `FirstOrderRecurrenceSplice` is handled inline, while handling Reverse is handled in the function. Can we merge the loops, as now we need to unconditionally iterate over all recipes in the loop region anyways?
https://github.com/llvm/llvm-project/pull/146525
More information about the llvm-commits
mailing list