aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
index a0361cac6a..84311a99b1 100644
--- a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
+++ b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
@@ -33,8 +33,6 @@
using namespace llvm;
namespace {
- // FIXME: UseLatencies is temporary.
- cl::opt<bool> UseLatencies("use-sched-latencies");
Statistic<> NumNoops ("scheduler", "Number of noops inserted");
Statistic<> NumStalls("scheduler", "Number of pipeline stalls");
@@ -508,7 +506,7 @@ void ScheduleDAGList::BuildSchedUnits() {
// Compute the latency for the node. We use the sum of the latencies for
// all nodes flagged together into this SUnit.
- if (InstrItins.isEmpty() || !UseLatencies) {
+ if (InstrItins.isEmpty()) {
// No latency information.
SU->Latency = 1;
} else {