[llvm] [RISCV][CodeGen] Add CodeGen support of Zvzip extension (PR #189801)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 3 00:28:51 PDT 2026


================
@@ -29,3 +29,121 @@ let Predicates = [HasStdExtZvzip], Constraints = "@earlyclobber $vd" in {
     def VPAIRO_VV : VALUVV<0b001111, OPMVV, "vpairo.vv">;
   }
 } // Predicates = [HasStdExtZvzip]
+
+// Returns a vector. Operand 0 and 1 are vectors, operand 2 is a passthru,
+// operand 3 is a mask, operand 4 is VL.
----------------
wangpc-pp wrote:

It can be simplified to `(vd (op vs2, vs1, passthru, mask, vl)`.

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


More information about the llvm-commits mailing list