mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
Add a marker for the graph root.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19445 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e0646b86e3
commit
fc08d9c789
@ -32,6 +32,12 @@ namespace llvm {
|
||||
static std::string getNodeAttributes(const SDNode *N) {
|
||||
return "shape=Mrecord";
|
||||
}
|
||||
|
||||
static void addCustomGraphFeatures(SelectionDAG *G,
|
||||
GraphWriter<SelectionDAG*> &GW) {
|
||||
GW.emitSimpleNode(0, "plaintext=circle", "GraphRoot");
|
||||
GW.emitEdge(0, -1, G->getRoot().Val, -1, "");
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user