[Mlir-commits] [mlir] a167898 - [mlir] NFC - Drop newline form BlockArgument printing.
Nicolas Vasilache
llvmlistbot at llvm.org
Wed Jun 16 06:29:45 PDT 2021
Author: Nicolas Vasilache
Date: 2021-06-16T13:28:43Z
New Revision: a1678987d982ef3d29ad4eacd4d4c48641494857
URL: https://github.com/llvm/llvm-project/commit/a1678987d982ef3d29ad4eacd4d4c48641494857
DIFF: https://github.com/llvm/llvm-project/commit/a1678987d982ef3d29ad4eacd4d4c48641494857.diff
LOG: [mlir] NFC - Drop newline form BlockArgument printing.
Differential Revision: https://reviews.llvm.org/D104368
Added:
Modified:
mlir/lib/IR/AsmPrinter.cpp
Removed:
################################################################################
diff --git a/mlir/lib/IR/AsmPrinter.cpp b/mlir/lib/IR/AsmPrinter.cpp
index 4356b145e52b2..7936964ea3950 100644
--- a/mlir/lib/IR/AsmPrinter.cpp
+++ b/mlir/lib/IR/AsmPrinter.cpp
@@ -2742,7 +2742,7 @@ void Value::print(raw_ostream &os) {
// TODO: Improve BlockArgument print'ing.
BlockArgument arg = this->cast<BlockArgument>();
os << "<block argument> 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 @@ void Value::print(raw_ostream &os, AsmState &state) {
// TODO: Improve BlockArgument print'ing.
BlockArgument arg = this->cast<BlockArgument>();
os << "<block argument> of type '" << arg.getType()
- << "' at index: " << arg.getArgNumber() << '\n';
+ << "' at index: " << arg.getArgNumber();
}
void Value::dump() {
More information about the Mlir-commits
mailing list