summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitb1b3e4aa58454846aca12b77bb3dabe1f2e843d1 (patch)
treed7b0e8f40741985bf84fe7901b7e15a850da85dd /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parent3c10fb1d8e308c5c55c03ab9260cd76b9af59025 (diff)
downloadbcm5719-llvm-b1b3e4aa58454846aca12b77bb3dabe1f2e843d1.tar.gz
bcm5719-llvm-b1b3e4aa58454846aca12b77bb3dabe1f2e843d1.zip
Remove LiveIntervals::trackingRegUnits().
With regunit liveness permanently enabled, this function would always return true. Also remove now obsolete code for checking physreg interference. llvm-svn: 159006
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index 2aea1e105cb..1a50210d566 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud