remove temporary option
authorChris Lattner <sabre@nondot.org>
Thu, 9 Mar 2006 17:31:22 +0000 (17:31 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Mar 2006 17:31:22 +0000 (17:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26646 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp

index a0361cac6a72a567ed212b3de1dbd1bf227c72a4..84311a99b10b8cc24dcdb231ad4dc0401d00af1b 100644 (file)
@@ -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 {