diff options
| author | Dan Gohman <gohman@apple.com> | 2008-04-14 23:15:07 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-04-14 23:15:07 +0000 |
| commit | e5f21cea3e8c3abee7ed46511a50924af228b5ec (patch) | |
| tree | 4813d872ffb4b148a6ea97933847105892e6f828 /llvm/lib | |
| parent | c5e5b38a8f4d515f9dc17a0f528ba69df661cec1 (diff) | |
| download | bcm5719-llvm-e5f21cea3e8c3abee7ed46511a50924af228b5ec.tar.gz bcm5719-llvm-e5f21cea3e8c3abee7ed46511a50924af228b5ec.zip | |
In -view-sunit-dags, display "special" chain dependencies as cyan
instead of blue to distinguish them from regular dependencies.
llvm-svn: 49696
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index 7779acce634..b07b86eb949 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp @@ -283,6 +283,8 @@ namespace llvm { /// edge, override this method. template<typename EdgeIter> static std::string getEdgeAttributes(const void *Node, EdgeIter EI) { + if (EI.isSpecialDep()) + return "color=cyan,style=dashed"; if (EI.isCtrlDep()) return "color=blue,style=dashed"; return ""; |

