From 99d1a8f048a1bd215fcaca2bf3913c018237e134 Mon Sep 17 00:00:00 2001 From: Alkis Evlogimenos Date: Sun, 30 Nov 2003 05:15:36 +0000 Subject: [PATCH] Remove "numReloaded" statistic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10268 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/RegAllocLinearScan.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp index f78be0f1ca9..91d8533ae85 100644 --- a/lib/CodeGen/RegAllocLinearScan.cpp +++ b/lib/CodeGen/RegAllocLinearScan.cpp @@ -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); -- 2.34.1