diff options
| author | Dan Gohman <gohman@apple.com> | 2008-07-22 17:52:59 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-07-22 17:52:59 +0000 |
| commit | 57c749294c5d79b0cfaa4cafc4f339eed5e93060 (patch) | |
| tree | 16752ecd589128daaaa3e6148b5d4f8dc5154e5d | |
| parent | 35a56368be35c7f01ce8d529e91f469035506ea7 (diff) | |
| download | bcm5719-llvm-57c749294c5d79b0cfaa4cafc4f339eed5e93060.tar.gz bcm5719-llvm-57c749294c5d79b0cfaa4cafc4f339eed5e93060.zip | |
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
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index 184c50e9037..4bcd916ff84 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp @@ -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"); } }; } |

