mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-23 17:28:54 +00:00
Remove unused BitVectors from getAllocatableSet().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165999 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -63,7 +63,6 @@ namespace {
|
||||
virtual void releaseMemory() {
|
||||
ScopeMap.clear();
|
||||
Exps.clear();
|
||||
AllocatableRegs.clear();
|
||||
}
|
||||
|
||||
private:
|
||||
@@ -77,7 +76,6 @@ namespace {
|
||||
ScopedHTType VNT;
|
||||
SmallVector<MachineInstr*, 64> Exps;
|
||||
unsigned CurrVN;
|
||||
BitVector AllocatableRegs;
|
||||
|
||||
bool PerformTrivialCoalescing(MachineInstr *MI, MachineBasicBlock *MBB);
|
||||
bool isPhysDefTriviallyDead(unsigned Reg,
|
||||
@@ -633,6 +631,5 @@ bool MachineCSE::runOnMachineFunction(MachineFunction &MF) {
|
||||
MRI = &MF.getRegInfo();
|
||||
AA = &getAnalysis<AliasAnalysis>();
|
||||
DT = &getAnalysis<MachineDominatorTree>();
|
||||
AllocatableRegs = TRI->getAllocatableSet(MF);
|
||||
return PerformCSE(DT->getRootNode());
|
||||
}
|
||||
|
Reference in New Issue
Block a user