From 29cdb26bbae007c0c1fe620136f8dfc8a2d1e84d 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54129 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index 7deedfa1a05..19a3e49055e 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"); } }; } -- 2.34.1