[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Mar 10 13:00:05 PST 2005



Changes in directory llvm/lib/CodeGen:

LiveIntervalAnalysis.cpp updated: 1.135 -> 1.136
---
Log message:

I didn't mean to check this in. :(


---
Diffs of the changes:  (+1 -3)

 LiveIntervalAnalysis.cpp |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)


Index: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff -u llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.135 llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.136
--- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.135	Wed Mar  9 17:05:19 2005
+++ llvm/lib/CodeGen/LiveIntervalAnalysis.cpp	Thu Mar 10 14:59:51 2005
@@ -58,8 +58,6 @@
   EnableJoining("join-liveintervals",
                 cl::desc("Join compatible live intervals"),
                 cl::init(true));
-  cl::opt<bool>
-  DisableHack("disable-hack");
 };
 
 void LiveIntervals::getAnalysisUsage(AnalysisUsage &AU) const
@@ -495,7 +493,7 @@
   // the physreg, then the new fragment has the same value as the one copied
   // into the vreg.
   if (interval.reg == DestReg && !interval.empty() &&
-      MRegisterInfo::isVirtualRegister(SrcReg) && !DisableHack) {
+      MRegisterInfo::isVirtualRegister(SrcReg)) {
 
     // Get the live interval for the vreg, see if it is defined by a copy.
     LiveInterval &SrcInterval = getOrCreateInterval(SrcReg);






More information about the llvm-commits mailing list