summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit0aa40f8db091e848c4a7b26b3ffa49b63419d43f (patch)
tree336d5ff4950ebdfba7bffee90bcf9bf1da1ce6c5 /llvm/lib/CodeGen/RegAllocLinearScan.cpp
parent98e72b4bb3e87a8bc161d5908bea5a46ff771e51 (diff)
downloadbcm5719-llvm-0aa40f8db091e848c4a7b26b3ffa49b63419d43f.tar.gz
bcm5719-llvm-0aa40f8db091e848c4a7b26b3ffa49b63419d43f.zip
Remove "numReloaded" statistic.
llvm-svn: 10268
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocLinearScan.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
index f78be0f1ca9..91d8533ae85 100644
--- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud