Add a (disabled by default) way to view the ID of a node.

llvm-svn: 42978
This commit is contained in:
Chris Lattner 2007-10-15 05:32:43 +00:00
parent c3a75c628d
commit 0841469ff0

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