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

Guray Ozen llvmlistbot at llvm.org
Thu May 8 05:15:31 PDT 2025


================
@@ -3444,6 +3444,71 @@ def NVVM_Tcgen05StOp : NVVM_Op<"tcgen05.st"> {
   let hasVerifier = 1;
 }
 
+//===----------------------------------------------------------------------===//
+// NVVM dp4a Op
+//===----------------------------------------------------------------------===//
+
+def DP4aS8 : I32EnumAttrCase<"S8", 1, "s8">;
+def DP4aU8 : I32EnumAttrCase<"U8", 0, "u8">;
----------------
grypp wrote:

We've types in nvvm dialects for wgmma, and maybe some other ops. We should unify them. it's okay for this PR, but it's better if we can do it sooner 

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


More information about the Mlir-commits mailing list