diff options
author | Andrew Trick <atrick@apple.com> | 2013-09-04 21:00:08 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2013-09-04 21:00:08 +0000 |
commit | a6e877707f19e32c078552f43e22ac18ef3a1e8c (patch) | |
tree | 18f30ce9076a1efa564e6fbefc086aa2466077e5 /llvm/lib/CodeGen | |
parent | 8c699c93b294888285aa4e4f0bfc4ec6429704d0 (diff) | |
download | bcm5719-llvm-a6e877707f19e32c078552f43e22ac18ef3a1e8c.tar.gz bcm5719-llvm-a6e877707f19e32c078552f43e22ac18ef3a1e8c.zip |
mi-sched: Load clustering is a bit to expensive to enable unconditionally.
llvm-svn: 189990
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/MachineScheduler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp index 0aacc3a59dc..d9da8381eaa 100644 --- a/llvm/lib/CodeGen/MachineScheduler.cpp +++ b/llvm/lib/CodeGen/MachineScheduler.cpp @@ -2753,7 +2753,7 @@ static ScheduleDAGInstrs *createConvergingSched(MachineSchedContext *C) { // data and pass it to later mutations. Have a single mutation that gathers // the interesting nodes in one pass. DAG->addMutation(new CopyConstrain(DAG->TII, DAG->TRI)); - if (EnableLoadCluster) + if (EnableLoadCluster && DAG->TII->enableClusterLoads()) DAG->addMutation(new LoadClusterMutation(DAG->TII, DAG->TRI)); if (EnableMacroFusion) DAG->addMutation(new MacroFusion(DAG->TII)); |