[Mlir-commits] [mlir] 891fad0 - [mlir] [NFC] Add a newline to debug message at inserting of InterfaceMap
Alex Zinenko
llvmlistbot at llvm.org
Tue May 30 07:29:21 PDT 2023
Author: Kohei Yamaguchi
Date: 2023-05-30T14:29:14Z
New Revision: 891fad0448fc560877e67c980754c1c4a5c83735
URL: https://github.com/llvm/llvm-project/commit/891fad0448fc560877e67c980754c1c4a5c83735
DIFF: https://github.com/llvm/llvm-project/commit/891fad0448fc560877e67c980754c1c4a5c83735.diff
LOG: [mlir] [NFC] Add a newline to debug message at inserting of InterfaceMap
At inserting of InterfaceMap, a debug message lacked a newline, so it repeatedly displayed this message within a single line.
Clean up the debug log by inserting a newline at the end of the message.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D150182
Added:
Modified:
mlir/lib/Support/InterfaceSupport.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Support/InterfaceSupport.cpp b/mlir/lib/Support/InterfaceSupport.cpp
index d813046eca7f3..4f321457dd2c8 100644
--- a/mlir/lib/Support/InterfaceSupport.cpp
+++ b/mlir/lib/Support/InterfaceSupport.cpp
@@ -25,7 +25,7 @@ void detail::InterfaceMap::insert(TypeID interfaceId, void *conceptImpl) {
return compare(it.first, id);
});
if (it != interfaces.end() && it->first == interfaceId) {
- LLVM_DEBUG(llvm::dbgs() << "Ignoring repeated interface registration");
+ LLVM_DEBUG(llvm::dbgs() << "Ignoring repeated interface registration\n");
free(conceptImpl);
return;
}
More information about the Mlir-commits
mailing list