diff --git a/src/model/dfcir/lib/dfcir/DFCIROperations.cpp b/src/model/dfcir/lib/dfcir/DFCIROperations.cpp index 70f60a0..93938ce 100644 --- a/src/model/dfcir/lib/dfcir/DFCIROperations.cpp +++ b/src/model/dfcir/lib/dfcir/DFCIROperations.cpp @@ -419,12 +419,7 @@ void mlir::dfcir::OffsetOp::print(OpAsmPrinter &printer) { ::llvm::SmallVector<::llvm::StringRef, 2> elidedAttrs; elidedAttrs.push_back("offset"); printer.printOptionalAttrDict((*this)->getAttrs(), elidedAttrs); - printer << " : "; - auto type = getRes().getType(); - if (auto validType = llvm::dyn_cast(type)) { - printer.printStrippedAttrOrType(validType); - } else - printer << type; + printer << " : " << getRes().getType(); } } // namespace mlir::dfcir