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

Durgadoss R via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 07:20:12 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,
----------------
durga4github wrote:

let us pass `N` itself to this util function so that it is consistent with the `diagnose..` function..

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


More information about the llvm-commits mailing list