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:
9195688
)
Add a (disabled by default) way to view the ID of a node.
author
Chris Lattner
<sabre@nondot.org>
Mon, 15 Oct 2007 05:32:43 +0000
(
05:32
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 15 Oct 2007 05:32:43 +0000
(
05:32
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42978
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
index 734d0f2d35c5ba0880901dc2927181a21eb07c8c..a64ccd3b84fe105ea1235510c7333f9db5301b53 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
@@
-172,6
+172,10
@@
std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node,
Op = Op + "<trunc " + MVT::getValueTypeString(ST->getStoredVT()) + ">";
Op += ST->getIndexedModeName(ST->getAddressingMode());
}
+
+#if 0
+ Op += " Id=" + itostr(Node->getNodeId());
+#endif
return Op;
}