aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-06-22 20:40:15 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-06-22 20:40:15 +0000
commitbfd752f310078561de07850ce66213c4579a0d7e (patch)
tree045e9ebb49dce6a5131f52969dc176591e5787bc /lib/CodeGen/LiveIntervalAnalysis.cpp
parent7fa6784296e6bc1aa4e8ec3664e58247893c21a2 (diff)
downloadexternal_llvm-bfd752f310078561de07850ce66213c4579a0d7e.zip
external_llvm-bfd752f310078561de07850ce66213c4579a0d7e.tar.gz
external_llvm-bfd752f310078561de07850ce66213c4579a0d7e.tar.bz2
Delete a boring statistic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 873eddd..819707f 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -31,7 +31,6 @@
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/ADT/DenseSet.h"
-#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/STLExtras.h"
#include "LiveRangeCalc.h"
#include <algorithm>
@@ -39,8 +38,6 @@
#include <cmath>
using namespace llvm;
-STATISTIC(numIntervals , "Number of original intervals");
-
char LiveIntervals::ID = 0;
INITIALIZE_PASS_BEGIN(LiveIntervals, "liveintervals",
"Live Interval Analysis", false, false)
@@ -109,9 +106,6 @@ bool LiveIntervals::runOnMachineFunction(MachineFunction &fn) {
ReservedRegs = TRI->getReservedRegs(fn);
computeIntervals();
-
- numIntervals += getNumIntervals();
-
computeLiveInRegUnits();
DEBUG(dump());