Remove "numReloaded" statistic.
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Sun, 30 Nov 2003 05:15:36 +0000 (05:15 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Sun, 30 Nov 2003 05:15:36 +0000 (05:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10268 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAllocLinearScan.cpp

index f78be0f1ca92a07549fc30405f10a30acfe51b34..91d8533ae8559327674625e3391ae00d0ab27f59 100644 (file)
@@ -34,7 +34,6 @@ using namespace llvm;
 
 namespace {
     Statistic<> numSpilled ("ra-linearscan", "Number of registers spilled");
-    Statistic<> numReloaded("ra-linearscan", "Number of registers reloaded");
 
     class RA : public MachineFunctionPass {
     public:
@@ -766,7 +765,6 @@ void RA::loadVirt2PhysReg(unsigned virtReg, unsigned physReg)
     const TargetRegisterClass* rc = mf_->getSSARegMap()->getRegClass(virtReg);
     int frameIndex = findOrCreateStackSlot(virtReg);
     DEBUG(std::cerr << " from stack slot #" << frameIndex << '\n');
-    ++numReloaded;
     instrAdded_ += mri_->loadRegFromStackSlot(*currentMbb_, currentInstr_,
                                               physReg, frameIndex, rc);
     assignVirt2PhysReg(virtReg, physReg);