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

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 4 03:09:05 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() &&
----------------
Mel-Chen wrote:

Hmm, I can't really think of any more cases that might cause issues. Hopefully it's safe enough. (pray)
767de324e473592107d29941f087c2d1c317ea39

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


More information about the llvm-commits mailing list