commit | 59afba0fe997c9f65abd66a4c3902ee2064abc4b | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Oct 15 05:32:43 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Oct 15 05:32:43 2007 +0000 |
tree | 6a2533a502f92913143c482f7187dd301bd1f628 | |
parent | 91956887f05d6c5d940ad1622b9d3cc33be0044d [diff] [blame] |
Add a (disabled by default) way to view the ID of a node. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42978 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index 734d0f2..a64ccd3 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
@@ -172,6 +172,10 @@ Op = Op + "<trunc " + MVT::getValueTypeString(ST->getStoredVT()) + ">"; Op += ST->getIndexedModeName(ST->getAddressingMode()); } + +#if 0 + Op += " Id=" + itostr(Node->getNodeId()); +#endif return Op; }