[llvm] r184030 - MI-Sched: Remove the temporary EnableCopyConstrain flag.

Andrew Trick atrick at apple.com
Fri Jun 14 21:49:47 PDT 2013


Author: atrick
Date: Fri Jun 14 23:49:46 2013
New Revision: 184030

URL: http://llvm.org/viewvc/llvm-project?rev=184030&view=rev
Log:
MI-Sched: Remove the temporary EnableCopyConstrain flag.

Modified:
    llvm/trunk/lib/CodeGen/MachineScheduler.cpp

Modified: llvm/trunk/lib/CodeGen/MachineScheduler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineScheduler.cpp?rev=184030&r1=184029&r2=184030&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineScheduler.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineScheduler.cpp Fri Jun 14 23:49:46 2013
@@ -52,11 +52,6 @@ static cl::opt<unsigned> MISchedCutoff("
 static bool ViewMISchedDAGs = false;
 #endif // NDEBUG
 
-// FIXME: remove this flag after initial testing. It should always be a good
-// thing.
-static cl::opt<bool> EnableCopyConstrain("misched-vcopy", cl::Hidden,
-    cl::desc("Constrain vreg copies."), cl::init(true));
-
 static cl::opt<bool> EnableLoadCluster("misched-cluster", cl::Hidden,
   cl::desc("Enable load clustering."), cl::init(true));
 
@@ -2390,8 +2385,7 @@ static ScheduleDAGInstrs *createConvergi
   // FIXME: extend the mutation API to allow earlier mutations to instantiate
   // data and pass it to later mutations. Have a single mutation that gathers
   // the interesting nodes in one pass.
-  if (EnableCopyConstrain)
-    DAG->addMutation(new CopyConstrain(DAG->TII, DAG->TRI));
+  DAG->addMutation(new CopyConstrain(DAG->TII, DAG->TRI));
   if (EnableLoadCluster)
     DAG->addMutation(new LoadClusterMutation(DAG->TII, DAG->TRI));
   if (EnableMacroFusion)





More information about the llvm-commits mailing list