[Mlir-commits] [llvm] [mlir] [mlir][AMDGPU] Implement AMDGPU DPP operation in MLIR. (PR #89233)

Matt Arsenault llvmlistbot at llvm.org
Tue May 14 11:28:10 PDT 2024


================
@@ -326,6 +326,68 @@ LogicalResult MFMAOp::verify() {
   return success();
 }
 
+//===----------------------------------------------------------------------===//
+// DPPOp
+//===----------------------------------------------------------------------===//
+LogicalResult DPPOp::verify() {
+  Type srcType = getSrc().getType();
+  if (srcType.getIntOrFloatBitWidth() > 32) {
+    return emitOpError("integer and floating point types larger than 32 bits "
+                       "are not supported");
----------------
arsenm wrote:

64-bit is actually supported already, and PRs are up to extend this to any legal-ish type 

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


More information about the Mlir-commits mailing list