mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Remove "numReloaded" statistic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10268 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2c0a6a19ef
commit
99d1a8f048
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user