projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a70f28c
)
Print node ID's in dumps and views if set.
author
Chris Lattner
<sabre@nondot.org>
Tue, 23 Feb 2010 19:31:18 +0000
(19:31 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 23 Feb 2010 19:31:18 +0000
(19:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96971
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index ef21a1592bbe6351ff98fe9df20b5ce94d3743fa..e67135028fc2adb7ad2c42eae4f2d2257296590d 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@
-5926,6
+5926,9
@@
void SDNode::print_details(raw_ostream &OS, const SelectionDAG *G) const {
if (G)
if (unsigned Order = G->GetOrdering(this))
OS << " [ORD=" << Order << ']';
+
+ if (getNodeId() != -1)
+ OS << " [ID=" << getNodeId() << ']';
}
void SDNode::print(raw_ostream &OS, const SelectionDAG *G) const {