[llvm] [VPlan] Support VPReverseVectorPointer in DataWithEVL vectorization (PR #113667)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 15 00:02:28 PST 2024


================
@@ -1462,15 +1462,22 @@ static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
         assert(OrigMask && "Unmasked recipe when folding tail");
         return HeaderMask == OrigMask ? nullptr : OrigMask;
       };
+      auto SetEVLForReversePointer = [&EVL](VPValue *V) -> void {
----------------
Mel-Chen wrote:

nit: Could this work?
```suggestion
      auto SetEVLForReversePointer = [EVL](VPValue *V) -> void {
```

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


More information about the llvm-commits mailing list