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
This commit is contained in:
Chris Lattner 2007-10-15 05:32:43 +00:00
parent 91956887f0
commit 59afba0fe9

View File

@ -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;
}