[clang] [llvm] [RISCV][P-ext] Support Packed Narrowing Zip (PR #210040)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 17 01:57:38 PDT 2026


================
@@ -6512,6 +6512,51 @@ lowerVECTOR_SHUFFLEAsRV32PNarrowingShift(ShuffleVectorSDNode *SVN,
                      DAG.getConstant(Index * EltBits, DL, MVT::i32));
 }
 
+// Match a strided-interleave shuffle that forms a P-extension packed
+// narrowing zip:
+//   <a0, b0, a2, b2, ...> -> ppaire.*
+//   <a1, b1, a3, b3, ...> -> ppairo.*
+static SDValue lowerVECTOR_SHUFFLEAsPNarrowingZip(ShuffleVectorSDNode *SVN,
----------------
TelGome wrote:

done. Yes, I get it.

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


More information about the cfe-commits mailing list