mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Fix -view-sunit-dags to support cross-rc-copy nodes.
llvm-svn: 48664
This commit is contained in:
parent
7dc7c09246
commit
ae161c1522
@ -314,7 +314,10 @@ std::string DOTGraphTraits<ScheduleDAG*>::getNodeLabel(const SUnit *SU,
|
||||
&G->DAG) + "\n";
|
||||
}
|
||||
|
||||
Op += DOTGraphTraits<SelectionDAG*>::getNodeLabel(SU->Node, &G->DAG);
|
||||
if (SU->Node)
|
||||
Op += DOTGraphTraits<SelectionDAG*>::getNodeLabel(SU->Node, &G->DAG);
|
||||
else
|
||||
Op += "<CROSS RC COPY>";
|
||||
|
||||
return Op;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user