================
@@ -1895,6 +1895,29 @@ def riscv_pmulsu_halves_00
def riscv_pmulsu_halves_11
: RVSDNode<"PMULSU_HALVES_11", SDT_RISCVPackedWideningMulByHalves>;
+// Multiply high parts
+def SDT_RISCVMulHighParts
+ : SDTypeProfile<1, 2, [SDTCisVT<0, XLenVT>, SDTCisVT<1, XLenVT>,
+ SDTCisVT<2, XLenVT>]>;
+def riscv_mulh_h0 : RVSDNode<"MULH_H0", SDT_RISCVMulHighParts>;
+def riscv_mulh_h1 : RVSDNode<"MULH_H1", SDT_RISCVMulHighParts>;
+def riscv_mulhsu_h0 : RVSDNode<"MULHSU_H0", SDT_RISCVMulHighParts>;
+def riscv_mulhsu_h1 : RVSDNode<"MULHSU_H1", SDT_RISCVMulHighParts>;
+
+def SDT_RISCVPackedMulHighParts
----------------
TelGome wrote:
Done
https://github.com/llvm/llvm-project/pull/225015
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits