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 @@ -2742,7 +2742,7 @@ // TODO: Improve BlockArgument print'ing. BlockArgument arg = this->cast(); os << " of type '" << arg.getType() - << "' at index: " << arg.getArgNumber() << '\n'; + << "' at index: " << arg.getArgNumber(); } void Value::print(raw_ostream &os, AsmState &state) { if (auto *op = getDefiningOp()) @@ -2751,7 +2751,7 @@ // TODO: Improve BlockArgument print'ing. BlockArgument arg = this->cast(); os << " of type '" << arg.getType() - << "' at index: " << arg.getArgNumber() << '\n'; + << "' at index: " << arg.getArgNumber(); } void Value::dump() {