[llvm-commits] CVS: llvm/lib/CodeGen/RegAllocLinearScan.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sat Nov 29 23:16:00 PST 2003
Changes in directory llvm/lib/CodeGen:
RegAllocLinearScan.cpp updated: 1.2 -> 1.3
---
Log message:
Remove "numReloaded" statistic.
---
Diffs of the changes: (+0 -2)
Index: llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff -u llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.2 llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.3
--- llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.2 Wed Nov 19 21:32:25 2003
+++ llvm/lib/CodeGen/RegAllocLinearScan.cpp Sat Nov 29 23:15:36 2003
@@ -34,7 +34,6 @@
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 @@
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);
More information about the llvm-commits
mailing list