summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-06-15 04:49:46 +0000
committerAndrew Trick <atrick@apple.com>2013-06-15 04:49:46 +0000
commit0cd8afc54714fcf0c118305d4ea7c932bebfbe23 (patch)
tree190eecfcc6dea8474165e6b1de67db9c63d6d291 /llvm/lib/CodeGen
parentf5b8ef26901b3124673854fea6410c3ccb7ee277 (diff)
downloadbcm5719-llvm-0cd8afc54714fcf0c118305d4ea7c932bebfbe23.tar.gz
bcm5719-llvm-0cd8afc54714fcf0c118305d4ea7c932bebfbe23.zip
MI-Sched: Remove the temporary EnableCopyConstrain flag.
llvm-svn: 184030
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/MachineScheduler.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp
index 72c49254a5d..bc3cf5566e3 100644
--- a/llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/llvm/lib/CodeGen/MachineScheduler.cpp
@@ -52,11 +52,6 @@ static cl::opt<unsigned> MISchedCutoff("misched-cutoff", cl::Hidden,
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 *createConvergingSched(MachineSchedContext *C) {
// 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)
OpenPOWER on IntegriCloud