aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocLinearScan.cpp
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2003-11-30 05:15:36 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2003-11-30 05:15:36 +0000
commit99d1a8f048a1bd215fcaca2bf3913c018237e134 (patch)
tree071f1dce2a2b88992e923ad794924d05542d4cb2 /lib/CodeGen/RegAllocLinearScan.cpp
parent2c0a6a19ef42f2ad547dbc0693e55e082a21ac8b (diff)
Remove "numReloaded" statistic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10268 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r--lib/CodeGen/RegAllocLinearScan.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp
index f78be0f1ca..91d8533ae8 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);