[llvm-commits] CVS: llvm/lib/CodeGen/RegAllocLinearScan.cpp
Chris Lattner
sabre at nondot.org
Tue Dec 5 17:49:10 PST 2006
Changes in directory llvm/lib/CodeGen:
RegAllocLinearScan.cpp updated: 1.133 -> 1.134
---
Log message:
eliminate fp statistic
---
Diffs of the changes: (+3 -3)
RegAllocLinearScan.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff -u llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.133 llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.134
--- llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.133 Fri Dec 1 20:22:01 2006
+++ llvm/lib/CodeGen/RegAllocLinearScan.cpp Tue Dec 5 19:48:55 2006
@@ -37,8 +37,8 @@
namespace {
- static Statistic<double> efficiency
- ("regalloc", "Ratio of intervals processed over total intervals");
+ static Statistic<> NumIters
+ ("regalloc", "Number of iterations performed");
static Statistic<> NumBacktracks
("regalloc", "Number of times we had to backtrack");
@@ -273,7 +273,7 @@
DEBUG(printIntervals("inactive", inactive_.begin(), inactive_.end()));
}
numIntervals += li_->getNumIntervals();
- efficiency = double(numIterations) / double(numIntervals);
+ NumIters += numIterations;
// expire any remaining active intervals
for (IntervalPtrs::reverse_iterator
More information about the llvm-commits
mailing list