Make the ScheduleDAG's GraphRoot edge be blue and dashed too, like

the SelectionDAG's.

llvm-svn: 54129
This commit is contained in:
Dan Gohman 2008-07-27 22:46:49 +00:00
parent 2ce6f2ad5e
commit 68e45a361b
1 changed files with 2 additions and 1 deletions

View 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");
}
};
}