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

Srinivasa Ravi via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 07:37:20 PDT 2026


================
@@ -4201,6 +4160,31 @@ static Constant *ConstantFoldScalarCall3(StringRef Name,
     }
   }
 
+  if (IntrinsicID == Intrinsic::nvvm_fadd ||
----------------
Wolfram70 wrote:

I think we should (along with folding for the vector types), perhaps in a follow-up PR. I didn't want to include it in this one since it seemed quite large already. Added a TODO comment for this here as well, thanks!

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


More information about the llvm-commits mailing list