[Mlir-commits] [clang] [llvm] [mlir] [clang][NVPTX][MLIR][NVVM] Add overloaded fadd intrinsics (PR #217336)

Srinivasa Ravi llvmlistbot at llvm.org
Tue Aug 25 07:38:11 PDT 2026


================
@@ -4201,6 +4160,31 @@ static Constant *ConstantFoldScalarCall3(StringRef Name,
     }
   }
 
+  if (IntrinsicID == Intrinsic::nvvm_fadd ||
+      IntrinsicID == Intrinsic::nvvm_fadd_ftz) {
+    const auto *Op1 = dyn_cast<ConstantFP>(Operands[0]);
----------------
Wolfram70 wrote:

Done, thanks!

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


More information about the Mlir-commits mailing list