[Mlir-commits] [mlir] [mlir][AMDGPU] Avoid verifier crash in DPPOp on vector operand types (PR #178887)
Jakub Kuderski
llvmlistbot at llvm.org
Fri Jan 30 05:55:15 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");
}
----------------
kuhar wrote:
Good catch. Could we move this to ODS though?
https://github.com/llvm/llvm-project/pull/178887
More information about the Mlir-commits
mailing list