summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineSink.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-10-16 00:05:06 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-10-16 00:05:06 +0000
commitfeab72c20acc97f8942148189c06e443b29df841 (patch)
treefbe7d1ee825fe3c56c3564ba2d3defb5a4e6c9e1 /lib/CodeGen/MachineSink.cpp
parent88bcf797abebb941fe9ace6de50eb7ede80d5ea7 (diff)
downloadllvm-feab72c20acc97f8942148189c06e443b29df841.tar.gz
llvm-feab72c20acc97f8942148189c06e443b29df841.tar.bz2
llvm-feab72c20acc97f8942148189c06e443b29df841.tar.xz
Remove unused BitVectors from getAllocatableSet().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165999 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineSink.cpp')
-rw-r--r--lib/CodeGen/MachineSink.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/MachineSink.cpp b/lib/CodeGen/MachineSink.cpp
index bc383cba45..b117f8c3a2 100644
--- a/lib/CodeGen/MachineSink.cpp
+++ b/lib/CodeGen/MachineSink.cpp
@@ -49,7 +49,6 @@ namespace {
MachineDominatorTree *DT; // Machine dominator tree
MachineLoopInfo *LI;
AliasAnalysis *AA;
- BitVector AllocatableSet; // Which physregs are allocatable?
// Remember which edges have been considered for breaking.
SmallSet<std::pair<MachineBasicBlock*,MachineBasicBlock*>, 8>
@@ -229,7 +228,6 @@ bool MachineSinking::runOnMachineFunction(MachineFunction &MF) {
DT = &getAnalysis<MachineDominatorTree>();
LI = &getAnalysis<MachineLoopInfo>();
AA = &getAnalysis<AliasAnalysis>();
- AllocatableSet = TRI->getAllocatableSet(MF);
bool EverMadeChange = false;