[llvm] [RISCV] Enabled masked interleaved access (PR #149981)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 23 08:51:38 PDT 2025


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

Replying to myself after reading more context - yeah, this is a generic EVL bug.

@Mel-Chen Would you mind separating your EVLIsLegal change into a separate review with a test case which shows the bug?  I'd like to get EVL disabled for this case while Luke's correctness change works it way through review.  

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


More information about the llvm-commits mailing list