mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-19 18:26:28 +00:00
Print node ID's in dumps and views if set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96971 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a70f28ce7d
commit
4548e02bd6
@ -5926,6 +5926,9 @@ void SDNode::print_details(raw_ostream &OS, const SelectionDAG *G) const {
|
|||||||
if (G)
|
if (G)
|
||||||
if (unsigned Order = G->GetOrdering(this))
|
if (unsigned Order = G->GetOrdering(this))
|
||||||
OS << " [ORD=" << Order << ']';
|
OS << " [ORD=" << Order << ']';
|
||||||
|
|
||||||
|
if (getNodeId() != -1)
|
||||||
|
OS << " [ID=" << getNodeId() << ']';
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDNode::print(raw_ostream &OS, const SelectionDAG *G) const {
|
void SDNode::print(raw_ostream &OS, const SelectionDAG *G) const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user