[llvm] [LV] Support tail-folded epilogue loops (PR #208764)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 05:53:32 PDT 2026


================
@@ -7489,6 +7792,28 @@ static SmallVector<Instruction *> preparePlanForEpilogueVectorLoop(
           continue;
         }
       }
+    } else if (isa<VPActiveLaneMaskPHIRecipe>(&R)) {
----------------
fhahn wrote:

I think it would probably help to simplify the patch if we limit the initial commit to `DataAndControlFlow`. I think there is another crash  with RISCV: https://llvm.godbolt.org/z/6rsrrxen1

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


More information about the llvm-commits mailing list