summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegisterCoalescer.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-11-13 22:15:40 +0000
committerAndrew Trick <atrick@apple.com>2012-11-13 22:15:40 +0000
commit3106aa125eb2756083e950362b6769b87cb3430a (patch)
tree1bd76b941a3616c880ad35924ce45cc874de73c5 /lib/CodeGen/RegisterCoalescer.cpp
parent4de5872dede6e3dd80f7ab3df5df4fe0e33e3b2e (diff)
downloadllvm-3106aa125eb2756083e950362b6769b87cb3430a.tar.gz
llvm-3106aa125eb2756083e950362b6769b87cb3430a.tar.bz2
llvm-3106aa125eb2756083e950362b6769b87cb3430a.tar.xz
The MachineScheduler does not currently require JoinSplitEdges.
This option will eventually either be enabled unconditionally or replaced by a more general live range splitting optimization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167879 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegisterCoalescer.cpp')
-rw-r--r--lib/CodeGen/RegisterCoalescer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/RegisterCoalescer.cpp b/lib/CodeGen/RegisterCoalescer.cpp
index 5ec0aece1e..b7839d6b0e 100644
--- a/lib/CodeGen/RegisterCoalescer.cpp
+++ b/lib/CodeGen/RegisterCoalescer.cpp
@@ -2116,10 +2116,10 @@ bool RegisterCoalescer::runOnMachineFunction(MachineFunction &fn) {
else
JoinGlobalCopies = (EnableGlobalCopies == cl::BOU_TRUE);
- if (EnableJoinSplits == cl::BOU_UNSET)
- JoinSplitEdges = ST.enableMachineScheduler();
- else
- JoinSplitEdges = (EnableJoinSplits == cl::BOU_TRUE);
+ // The MachineScheduler does not currently require JoinSplitEdges. This will
+ // either be enabled unconditionally or replaced by a more general live range
+ // splitting optimization.
+ JoinSplitEdges = EnableJoinSplits;
DEBUG(dbgs() << "********** SIMPLE REGISTER COALESCING **********\n"
<< "********** Function: " << MF->getName() << '\n');