Skip to content

Commit

Permalink
[SIMachineScheduler] Fixed ''then' statement is equivalent to the 'el…
Browse files Browse the repository at this point in the history
…se' statement.' warning. NFCI.
  • Loading branch information
davidbolvansky committed Nov 3, 2019
1 parent c3d6f0d commit 3fbd1c0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp
Expand Up @@ -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";
}
Expand Down

0 comments on commit 3fbd1c0

Please sign in to comment.