From 706b4fc47bbc608932d3b491ae19a3b9cde9497b Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Fri, 17 Jan 2020 20:45:01 +0000 Subject: Vendor import of llvm-project master e26a78e70, the last commit before the llvmorg-11-init tag, from which release/10.x was branched. --- llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp') diff --git a/llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp b/llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp index c072ba6b2d1c..004a3cb185d6 100644 --- a/llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp +++ b/llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp @@ -609,13 +609,8 @@ void SIScheduleBlock::printDebug(bool full) { } dbgs() << "\nInstructions:\n"; - if (!Scheduled) { - for (const SUnit* SU : SUnits) + for (const SUnit* SU : SUnits) DAG->dumpNode(*SU); - } else { - for (const SUnit* SU : SUnits) - DAG->dumpNode(*SU); - } dbgs() << "///////////////////////\n"; } @@ -623,11 +618,8 @@ void SIScheduleBlock::printDebug(bool full) { // SIScheduleBlockCreator // -SIScheduleBlockCreator::SIScheduleBlockCreator(SIScheduleDAGMI *DAG) : -DAG(DAG) { -} - -SIScheduleBlockCreator::~SIScheduleBlockCreator() = default; +SIScheduleBlockCreator::SIScheduleBlockCreator(SIScheduleDAGMI *DAG) + : DAG(DAG) {} SIScheduleBlocks SIScheduleBlockCreator::getBlocks(SISchedulerBlockCreatorVariant BlockVariant) { -- cgit v1.2.3