[llvm] 59e01a1 - [TableGen] Add new line to end of TreePatternNode::dump. (#186865)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 16 15:59:37 PDT 2026
Author: Craig Topper
Date: 2026-03-16T15:59:32-07:00
New Revision: 59e01a1e2ca5cdc6cea81c797c4a1095c8d5420a
URL: https://github.com/llvm/llvm-project/commit/59e01a1e2ca5cdc6cea81c797c4a1095c8d5420a
DIFF: https://github.com/llvm/llvm-project/commit/59e01a1e2ca5cdc6cea81c797c4a1095c8d5420a.diff
LOG: [TableGen] Add new line to end of TreePatternNode::dump. (#186865)
Added:
Modified:
llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
Removed:
################################################################################
diff --git a/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp b/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
index c75d35feadc01..a6790df82d3e4 100644
--- a/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
+++ b/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
@@ -2076,7 +2076,10 @@ void TreePatternNode::print(raw_ostream &OS) const {
for (const ScopedName &Name : NamesAsPredicateArg)
OS << ":$pred:" << Name.getScope() << ":" << Name.getIdentifier();
}
-void TreePatternNode::dump() const { print(dbgs()); }
+void TreePatternNode::dump() const {
+ print(dbgs());
+ dbgs() << '\n';
+}
/// isIsomorphicTo - Return true if this node is recursively
/// isomorphic to the specified node. For this comparison, the node's
More information about the llvm-commits
mailing list