summaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-06-22 16:46:44 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-06-22 16:46:44 +0000
commit241d0209a765c97c684b120527e185f17723f650 (patch)
treee752711f5b5e3f95f4f58a8bc6a0462da407597c /lib/CodeGen/LiveIntervalAnalysis.cpp
parent7ee3ca10f53aacce1f3aa052f81f9598ac09db33 (diff)
downloadllvm-241d0209a765c97c684b120527e185f17723f650.tar.gz
llvm-241d0209a765c97c684b120527e185f17723f650.tar.bz2
llvm-241d0209a765c97c684b120527e185f17723f650.tar.xz
Remove LiveIntervals::trackingRegUnits().
With regunit liveness permanently enabled, this function would always return true. Also remove now obsolete code for checking physreg interference. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159006 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 2aea1e105c..1a50210d56 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -1188,7 +1188,7 @@ private:
// Collect ranges for register units. These live ranges are computed on
// demand, so just skip any that haven't been computed yet.
- if (TargetRegisterInfo::isPhysicalRegister(Reg) && LIS.trackingRegUnits())
+ if (TargetRegisterInfo::isPhysicalRegister(Reg))
for (MCRegUnitIterator Units(Reg, &TRI); Units.isValid(); ++Units)
if (LiveInterval *LI = LIS.getCachedRegUnit(*Units))
collectRanges(MO, LI, Entering, Internal, Exiting, OldIdx);