1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Print node ID's in dumps and views if set.

llvm-svn: 96971
This commit is contained in:
Chris Lattner 2010-02-23 19:31:18 +00:00
parent 94cdac52e5
commit 4d568129c4

View File

@ -5926,6 +5926,9 @@ void SDNode::print_details(raw_ostream &OS, const SelectionDAG *G) const {
if (G)
if (unsigned Order = G->GetOrdering(this))
OS << " [ORD=" << Order << ']';
if (getNodeId() != -1)
OS << " [ID=" << getNodeId() << ']';
}
void SDNode::print(raw_ostream &OS, const SelectionDAG *G) const {