diff options
author | Dan Gohman <gohman@apple.com> | 2008-07-27 22:46:49 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-07-27 22:46:49 +0000 |
commit | 29cdb26bbae007c0c1fe620136f8dfc8a2d1e84d (patch) | |
tree | 466eb707bc0165d1adb653aafde6402416e9612f /lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | |
parent | 475871a144eb604ddaf37503397ba0941442e5fb (diff) |
Make the ScheduleDAG's GraphRoot edge be blue and dashed too, like
the SelectionDAG's.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54129 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index 7deedfa1a0..19a3e49055 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp @@ -346,7 +346,8 @@ namespace llvm { GW.emitSimpleNode(0, "plaintext=circle", "GraphRoot"); const SDNode *N = G->DAG.getRoot().Val; if (N && N->getNodeId() != -1) - GW.emitEdge(0, -1, &G->SUnits[N->getNodeId()], -1, ""); + GW.emitEdge(0, -1, &G->SUnits[N->getNodeId()], -1, + "color=blue,style=dashed"); } }; } |