[Mlir-commits] [mlir] [mlir][AMDGPU] Avoid verifier crash in DPPOp on vector operand types (PR #178887)

Ayush Kumar Gaur llvmlistbot at llvm.org
Fri Jan 30 08:28:40 PST 2026


================
@@ -675,11 +675,11 @@ LogicalResult SparseMFMAOp::verify() {
 //===----------------------------------------------------------------------===//
 LogicalResult DPPOp::verify() {
   Type srcType = getSrc().getType();
-  if (srcType.getIntOrFloatBitWidth() > 64) {
+  Type elemType = getElementTypeOrSelf(srcType);
+  if (elemType.getIntOrFloatBitWidth() > 64) {
     return emitOpError("integer and floating point types larger than 64 bits "
                        "are not supported");
   }
----------------
Ayush3941 wrote:

Btw I am kind of new here can you tell me what ODS is 😅

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


More information about the Mlir-commits mailing list