diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-06-22 16:46:44 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-06-22 16:46:44 +0000 |
commit | b1b3e4aa58454846aca12b77bb3dabe1f2e843d1 (patch) | |
tree | d7b0e8f40741985bf84fe7901b7e15a850da85dd /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 3c10fb1d8e308c5c55c03ab9260cd76b9af59025 (diff) | |
download | bcm5719-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.cpp | 2 |
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); |