diff options
author | Bardia Mahjour <bmahjour@ca.ibm.com> | 2020-12-16 12:34:38 -0500 |
---|---|---|
committer | Bardia Mahjour <bmahjour@ca.ibm.com> | 2020-12-16 12:37:36 -0500 |
commit | 6eff12788ee8d3f85f6e57809e757ca3250813d8 (patch) | |
tree | 02869903192069b2ddbd219cd3086a24ff4c7bd0 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 4bd9e62422d1e3c63e01ce9f3523d5dcc59d7215 (diff) | |
download | llvm-6eff12788ee8d3f85f6e57809e757ca3250813d8.zip llvm-6eff12788ee8d3f85f6e57809e757ca3250813d8.tar.gz llvm-6eff12788ee8d3f85f6e57809e757ca3250813d8.tar.bz2 |
[DDG] Data Dependence Graph - DOT printer - recommit
This is being recommitted to try and address the MSVC complaint.
This patch implements a DDG printer pass that generates a graph in
the DOT description language, providing a more visually appealing
representation of the DDG. Similar to the CFG DOT printer, this
functionality is provided under an option called -dot-ddg and can
be generated in a less verbose mode under -dot-ddg-only option.
Reviewed By: Meinersbur
Differential Revision: https://reviews.llvm.org/D90159
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineScheduler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp index 5843f84..8d51bb2 100644 --- a/llvm/lib/CodeGen/MachineScheduler.cpp +++ b/llvm/lib/CodeGen/MachineScheduler.cpp @@ -3836,7 +3836,7 @@ struct DOTGraphTraits<ScheduleDAGMI*> : public DefaultDOTGraphTraits { return true; } - static bool isNodeHidden(const SUnit *Node) { + static bool isNodeHidden(const SUnit *Node, const ScheduleDAG *G) { if (ViewMISchedCutoff == 0) return false; return (Node->Preds.size() > ViewMISchedCutoff |