Make the ScheduleDAG's GraphRoot edge be blue and dashed too, like
authorDan Gohman <gohman@apple.com>
Sun, 27 Jul 2008 22:46:49 +0000 (22:46 +0000)
committerDan Gohman <gohman@apple.com>
Sun, 27 Jul 2008 22:46:49 +0000 (22:46 +0000)
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

index 7deedfa1a0571bc464c65a01b4a35fec358bfd33..19a3e49055ede60970f1f76a091564ac8232a6d8 100644 (file)
@@ -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");
     }
   };
 }