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 | 68e45a361b8780bdbedc8cc50289bbf0bec45eb2 (patch) | |
tree | 4a4bd284f07911c5c1f61e530fe9d801142a2e56 /llvm/lib/CodeGen/SelectionDAG | |
parent | 2ce6f2ad5e1c65e6e55feec20a14bfbea389e4de (diff) | |
download | bcm5719-llvm-68e45a361b8780bdbedc8cc50289bbf0bec45eb2.tar.gz bcm5719-llvm-68e45a361b8780bdbedc8cc50289bbf0bec45eb2.zip |
Make the ScheduleDAG's GraphRoot edge be blue and dashed too, like
the SelectionDAG's.
llvm-svn: 54129
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-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 7deedfa1a05..19a3e49055e 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/llvm/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"); } }; } |