[llvm-commits] [llvm] r42978 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
Chris Lattner
sabre at nondot.org
Sun Oct 14 22:32:43 PDT 2007
Author: lattner
Date: Mon Oct 15 00:32:43 2007
New Revision: 42978
URL: http://llvm.org/viewvc/llvm-project?rev=42978&view=rev
Log:
Add a (disabled by default) way to view the ID of a node.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp?rev=42978&r1=42977&r2=42978&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp Mon Oct 15 00:32:43 2007
@@ -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;
}
More information about the llvm-commits
mailing list