[llvm] Reland "[RISCV][TTI] Enable masked interleave access for scalable vector (#149981)" (PR #151665)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 1 01:26:58 PDT 2025


================
@@ -1378,7 +1378,9 @@ class LoopVectorizationCostModel {
       return;
     // Override EVL styles if needed.
     // FIXME: Investigate opportunity for fixed vector factor.
+    // FIXME: Support interleave accesses.
     bool EVLIsLegal = UserIC <= 1 && IsScalableVF &&
+                      !InterleaveInfo.hasGroups() &&
----------------
lukel97 wrote:

I don't think we need to bail on EVL anymore either, https://github.com/llvm/llvm-project/pull/150202 has landed and should fix the concern about the header mask

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


More information about the llvm-commits mailing list