forked from OSchip/llvm-project
Make the GraphRoot edge look like a chain edge, which is more accurate,
and use the right result number, in the off chance that the graph root has multiple result values. llvm-svn: 53923
This commit is contained in:
parent
35a56368be
commit
57c749294c
|
@ -110,7 +110,8 @@ namespace llvm {
|
|||
GraphWriter<SelectionDAG*> &GW) {
|
||||
GW.emitSimpleNode(0, "plaintext=circle", "GraphRoot");
|
||||
if (G->getRoot().Val)
|
||||
GW.emitEdge(0, -1, G->getRoot().Val, -1, "");
|
||||
GW.emitEdge(0, -1, G->getRoot().Val, G->getRoot().ResNo,
|
||||
"color=blue,style=dashed");
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue