[llvm] [IR] Add llvm `cmul` intrinsic (PR #140301)

Oscar Smith via llvm-commits llvm-commits at lists.llvm.org
Sat May 17 22:05:14 PDT 2025


================
@@ -10348,6 +10348,7 @@ SDValue RISCVTargetLowering::LowerINTRINSIC_WO_CHAIN(SDValue Op,
     return DAG.getNode(RISCVISD::MOPRR, DL, XLenVT, Op.getOperand(1),
                        Op.getOperand(2), Op.getOperand(3));
   }
+  case Intrinsic::clmul:
----------------
oscardssmith wrote:

now that this is in SelectionDAGBuilder should it be fully removed from here? If so, how do I tell LLVM to turn `llvm.clmul` into a RiscV `clmul` assembly instruction?

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


More information about the llvm-commits mailing list