diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-10-16 00:05:06 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-10-16 00:05:06 +0000 |
commit | 244beb42cee42a2ba367772d2d2a8bb04c98991f (patch) | |
tree | 27b3b5851cfb3fa1d2be98adffbc4c85acdd7612 /llvm/lib/CodeGen/MachineCSE.cpp | |
parent | 8be2a9adba0e5eb8ae5657fa86d2cb55b956af04 (diff) | |
download | bcm5719-llvm-244beb42cee42a2ba367772d2d2a8bb04c98991f.tar.gz bcm5719-llvm-244beb42cee42a2ba367772d2d2a8bb04c98991f.zip |
Remove unused BitVectors from getAllocatableSet().
llvm-svn: 165999
Diffstat (limited to 'llvm/lib/CodeGen/MachineCSE.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineCSE.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineCSE.cpp b/llvm/lib/CodeGen/MachineCSE.cpp index 15519c105c8..0f260205df2 100644 --- a/llvm/lib/CodeGen/MachineCSE.cpp +++ b/llvm/lib/CodeGen/MachineCSE.cpp @@ -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()); } |