diff options
author | Andrew Trick <atrick@apple.com> | 2012-11-13 22:15:40 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-11-13 22:15:40 +0000 |
commit | 47d58ce0df8197dceb81a91898a1021f0456b099 (patch) | |
tree | 6215dde35717b2c35e53c35de53ad980a6819d53 /llvm/lib/CodeGen | |
parent | 3ad723ca2eebbef8c480574092888d290a18254e (diff) | |
download | bcm5719-llvm-47d58ce0df8197dceb81a91898a1021f0456b099.tar.gz bcm5719-llvm-47d58ce0df8197dceb81a91898a1021f0456b099.zip |
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.
llvm-svn: 167879
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/RegisterCoalescer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/RegisterCoalescer.cpp b/llvm/lib/CodeGen/RegisterCoalescer.cpp index 5ec0aece1e5..b7839d6b0e6 100644 --- a/llvm/lib/CodeGen/RegisterCoalescer.cpp +++ b/llvm/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'); |