diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-03-19 18:08:26 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-03-19 18:08:26 +0000 |
commit | 25d00d545d178fb30d31b11f59f9531031ac4016 (patch) | |
tree | d0814950602b91a6d7a393b999ce5884117d4cfb /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 5a040c510b1554ad1923479f74bcab269c216fc4 (diff) | |
download | bcm5719-llvm-25d00d545d178fb30d31b11f59f9531031ac4016.tar.gz bcm5719-llvm-25d00d545d178fb30d31b11f59f9531031ac4016.zip |
Remove -reduce-joining-phys-regs options. Make it on by default.
llvm-svn: 35165
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp index 4a6a561fe35..36db38e1dba 100644 --- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -42,7 +42,6 @@ STATISTIC(numJoins , "Number of interval joins performed"); STATISTIC(numPeep , "Number of identity moves eliminated after coalescing"); STATISTIC(numFolded , "Number of loads/stores folded into instructions"); STATISTIC(numAborts , "Number of times interval joining aborted"); -static cl::opt<bool> ReduceJoinPhys("reduce-joining-phy-regs", cl::Hidden); namespace { RegisterPass<LiveIntervals> X("liveintervals", "Live Interval Analysis"); @@ -937,8 +936,7 @@ bool LiveIntervals::JoinCopy(MachineInstr *CopyMI, // virtual register. Once the coalescing is done, it cannot be broken and // these are not spillable! If the destination interval uses are far away, // think twice about coalescing them! - if (ReduceJoinPhys && !mopd->isDead() && - MRegisterInfo::isPhysicalRegister(repSrcReg)) { + if (!mopd->isDead() && MRegisterInfo::isPhysicalRegister(repSrcReg)) { // Small function. No need to worry! unsigned Threshold = allocatableRegs_.count() * 2; if (r2iMap_.size() <= Threshold) |