diff options
Diffstat (limited to 'llvm/lib/CodeGen/ScheduleDAG.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/ScheduleDAG.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/ScheduleDAG.cpp b/llvm/lib/CodeGen/ScheduleDAG.cpp index 26857edd871e..e630b80e33ab 100644 --- a/llvm/lib/CodeGen/ScheduleDAG.cpp +++ b/llvm/lib/CodeGen/ScheduleDAG.cpp @@ -365,6 +365,9 @@ LLVM_DUMP_METHOD void ScheduleDAG::dumpNodeName(const SUnit &SU) const { LLVM_DUMP_METHOD void ScheduleDAG::dumpNodeAll(const SUnit &SU) const { dumpNode(SU); SU.dumpAttributes(); + if (SU.ParentClusterIdx != InvalidClusterId) + dbgs() << " Parent Cluster Index: " << SU.ParentClusterIdx << '\n'; + if (SU.Preds.size() > 0) { dbgs() << " Predecessors:\n"; for (const SDep &Dep : SU.Preds) { |
