diff --git a/mlir/lib/IR/AsmPrinter.cpp b/mlir/lib/IR/AsmPrinter.cpp --- a/mlir/lib/IR/AsmPrinter.cpp +++ b/mlir/lib/IR/AsmPrinter.cpp @@ -3556,7 +3556,10 @@ AsmPrinter::Impl(os, state.getImpl()).printType(*this); } -void Type::dump() const { print(llvm::errs()); } +void Type::dump() const { + print(llvm::errs()); + llvm::errs() << "\n"; +} void AffineMap::dump() const { print(llvm::errs());