1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Delete a boring statistic.

llvm-svn: 159030
This commit is contained in:
Jakob Stoklund Olesen 2012-06-22 20:40:15 +00:00
parent 5b5a4305f1
commit 3a972a4f8d
2 changed files with 0 additions and 8 deletions

View File

@ -109,8 +109,6 @@ namespace llvm {
// Calculate the spill weight to assign to a single instruction.
static float getSpillWeight(bool isDef, bool isUse, unsigned loopDepth);
unsigned getNumIntervals() const { return (unsigned)VirtRegIntervals.size(); }
LiveInterval &getInterval(unsigned Reg) {
LiveInterval *LI = VirtRegIntervals[Reg];
assert(LI && "Interval does not exist for virtual register");

View File

@ -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());