aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-27 22:46:49 +0000
committerDan Gohman <gohman@apple.com>2008-07-27 22:46:49 +0000
commita7cc4ffa7b2817bba430ffbc8c70436ee4b917af (patch)
tree466eb707bc0165d1adb653aafde6402416e9612f /lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
parent8181bd1f95ae9994edb390dd9acd0b7b12375219 (diff)
downloadexternal_llvm-a7cc4ffa7b2817bba430ffbc8c70436ee4b917af.zip
external_llvm-a7cc4ffa7b2817bba430ffbc8c70436ee4b917af.tar.gz
external_llvm-a7cc4ffa7b2817bba430ffbc8c70436ee4b917af.tar.bz2
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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
index 7deedfa..19a3e49 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");
}
};
}