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 | 757072d954937514585b5c213f01f851d31826a1 (patch) | |
tree | 470efbb2df831036647750f03b956b5da79a2578 | |
parent | d8197fd9d71786b48b2b0d735a37a43d5ed7984d (diff) | |
download | external_llvm-757072d954937514585b5c213f01f851d31826a1.zip external_llvm-757072d954937514585b5c213f01f851d31826a1.tar.gz external_llvm-757072d954937514585b5c213f01f851d31826a1.tar.bz2 |
Remove -reduce-joining-phys-regs options. Make it on by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35165 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 4a6a561..36db38e 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/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) |