diff --git a/mlir/lib/Dialect/Quant/IR/TypeParser.cpp b/mlir/lib/Dialect/Quant/IR/TypeParser.cpp index 1fd148dd4736..40510e6e2387 100644 --- a/mlir/lib/Dialect/Quant/IR/TypeParser.cpp +++ b/mlir/lib/Dialect/Quant/IR/TypeParser.cpp @@ -51,7 +51,7 @@ static Type parseStorageType(DialectAsmParser &parser, bool &isSigned) { return nullptr; } isSigned = false; - type = parser.getBuilder().getIntegerType(storageTypeWidth); + type = parser.getBuilder().getIntegerType(storageTypeWidth, isSigned); } else { parser.emitError(typeLoc, "illegal quantized storage type alias");