From 68e45a361b8780bdbedc8cc50289bbf0bec45eb2 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Sun, 27 Jul 2008 22:46:49 +0000 Subject: [PATCH] Make the ScheduleDAG's GraphRoot edge be blue and dashed too, like the SelectionDAG's. llvm-svn: 54129 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index 7deedfa1a057..19a3e49055ed 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"); } }; }