Skip to content

Commit

Permalink
[mlir] [NFC] Add a newline to debug message at inserting of InterfaceMap
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sott0n authored and ftynse committed May 30, 2023
1 parent d70573b commit 891fad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/lib/Support/InterfaceSupport.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 891fad0

Please sign in to comment.