summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU
diff options
context:
space:
mode:
authorDávid Bolvanský <david.bolvansky@gmail.com>2019-11-03 20:40:53 +0100
committerDávid Bolvanský <david.bolvansky@gmail.com>2019-11-03 20:40:53 +0100
commit3fbd1c00b0f300cdd558a924a5cc3d34dae0c209 (patch)
tree6daea301be58bfe56f7934d9b1729d7c31991796 /llvm/lib/Target/AMDGPU
parentc3d6f0ddeee4dfa80204156f7f4f3f5353fe1090 (diff)
downloadbcm5719-llvm-3fbd1c00b0f300cdd558a924a5cc3d34dae0c209.tar.gz
bcm5719-llvm-3fbd1c00b0f300cdd558a924a5cc3d34dae0c209.zip
[SIMachineScheduler] Fixed ''then' statement is equivalent to the 'else' statement.' warning. NFCI.
Diffstat (limited to 'llvm/lib/Target/AMDGPU')
-rw-r--r--llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp b/llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp
index c072ba6b2d1..bd3a633987b 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";
}
OpenPOWER on IntegriCloud