From 891fad0448fc560877e67c980754c1c4a5c83735 Mon Sep 17 00:00:00 2001 From: Kohei Yamaguchi Date: Tue, 30 May 2023 14:13:47 +0000 Subject: [PATCH] [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 --- mlir/lib/Support/InterfaceSupport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/lib/Support/InterfaceSupport.cpp b/mlir/lib/Support/InterfaceSupport.cpp index d813046..4f32145 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; } -- 2.7.4