Added temp flag -misched-bench for staging in default changes.
[oota-llvm.git] / lib / CodeGen / RegisterCoalescer.cpp
index c776dd312250b61b37cb40ff389a1eee4f455f1f..791f1baf63d69d16640c2117adeea6778889c608 100644 (file)
@@ -2199,7 +2199,7 @@ bool RegisterCoalescer::runOnMachineFunction(MachineFunction &fn) {
 
   const TargetSubtargetInfo &ST = TM->getSubtarget<TargetSubtargetInfo>();
   if (EnableGlobalCopies == cl::BOU_UNSET)
-    JoinGlobalCopies = ST.enableMachineScheduler();
+    JoinGlobalCopies = ST.useMachineScheduler();
   else
     JoinGlobalCopies = (EnableGlobalCopies == cl::BOU_TRUE);