[Mlir-commits] [mlir] [MLIR][NVVM] Add support for dp4a instructions (PR #139043)

Srinivasa Ravi llvmlistbot at llvm.org
Thu May 8 20:52:19 PDT 2025


================
@@ -1590,6 +1597,17 @@ static void nvvmInferResultRanges(Operation *op, Value result,
   }
 }
 
+#define GET_DP4A_ID(a_sign, is_b_siext)                                        \
+  is_b_siext ? llvm::Intrinsic::nvvm_idp4a_##a_sign##_s                        \
+             : llvm::Intrinsic::nvvm_idp4a_##a_sign##_u
----------------
Wolfram70 wrote:

I've replaced the macros with a switch-case instead in the latest revision, thanks!

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


More information about the Mlir-commits mailing list