[SIMachineScheduler] Fixed ''then' statement is equivalent to the 'else' statement.' warning. NFCI.

This commit is contained in:
Dávid Bolvanský 2019-11-03 20:40:53 +01:00
parent c3d6f0ddee
commit 3fbd1c00b0
1 changed files with 1 additions and 6 deletions

View File

@ -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";
}