aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-09 17:31:22 +0000
committerChris Lattner <sabre@nondot.org>2006-03-09 17:31:22 +0000
commit8c84f3f0dfae7975e93fb5465c41c8a41bd70aa6 (patch)
tree6f9070dcd8dc223fe95908b561c00e0999a68019 /lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
parent62e15a3c0353afee914f22cd3e4a87ecb8b383a4 (diff)
remove temporary option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26646 91177308-0d34-0410-b5e6-96231b3b80d8
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 {