[llvm] [RISCV] Fix incorrect fixed vector lowering for VECTOR_DEINTERLEAVE (PR #207254)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 2 13:46:28 PDT 2026


================
@@ -13163,6 +13148,83 @@ SDValue RISCVTargetLowering::lowerVECTOR_DEINTERLEAVE(SDValue Op,
     return DAG.getMergeValues(Res, DL);
   }
 
+  // Convert to scalable vectors.
----------------
topperc wrote:

The code on line 13126 that checks for exceeding LMUL=8 is not correct for fixed vectors.

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


More information about the llvm-commits mailing list