mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53923 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -110,7 +110,8 @@ namespace llvm {
|
|||||||
GraphWriter<SelectionDAG*> &GW) {
|
GraphWriter<SelectionDAG*> &GW) {
|
||||||
GW.emitSimpleNode(0, "plaintext=circle", "GraphRoot");
|
GW.emitSimpleNode(0, "plaintext=circle", "GraphRoot");
|
||||||
if (G->getRoot().Val)
|
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");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user