[llvm-commits] [llvm] r158005 - /llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
Jakob Stoklund Olesen
stoklund at 2pi.dk
Tue Jun 5 10:19:07 PDT 2012
Author: stoklund
Date: Tue Jun 5 12:19:07 2012
New Revision: 158005
URL: http://llvm.org/viewvc/llvm-project?rev=158005&view=rev
Log:
Remove dead function.
Modified:
llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
Modified: llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h?rev=158005&r1=158004&r2=158005&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h Tue Jun 5 12:19:07 2012
@@ -137,12 +137,6 @@
return ReservedRegs.test(reg);
}
- /// getApproximateInstructionCount - computes an estimate of the number
- /// of instructions in a given LiveInterval.
- unsigned getApproximateInstructionCount(LiveInterval& I) {
- return I.getSize()/SlotIndex::InstrDist;
- }
-
// Interval creation
LiveInterval &getOrCreateInterval(unsigned reg) {
Reg2IntervalMap::iterator I = R2IMap.find(reg);
More information about the llvm-commits
mailing list