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;
}
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits