[clang] [llvm] [clang][NVPTX] Add overloaded fmul intrinsics (PR #224546)

Srinivasa Ravi via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 00:36:38 PDT 2026


================
@@ -7289,10 +7285,22 @@ static SDValue combineIntrinsicWOChain(SDNode *N,
   case Intrinsic::nvvm_fadd_ftz_sat: {
     const auto RoundingMode = static_cast<APFloat::roundingMode>(
         N->getConstantOperandAPInt(3).getSExtValue());
-    if (!isSupportedFAdd(N->getValueType(0), STI, IID, RoundingMode))
-      return diagnoseUnsupportedFAdd(N, DCI.DAG, IID, RoundingMode);
+    if (!isSupportedFPArith(N->getValueType(0), STI, ISD::FADD, IID,
----------------
Wolfram70 wrote:

Done, thanks!

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


More information about the llvm-commits mailing list