mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +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:
@ -80,7 +80,6 @@ namespace {
|
||||
BlockSet FunctionBlocks;
|
||||
|
||||
BitVector regsReserved;
|
||||
BitVector regsAllocatable;
|
||||
RegSet regsLive;
|
||||
RegVector regsDefined, regsDead, regsKilled;
|
||||
RegMaskVector regMasks;
|
||||
@ -186,7 +185,7 @@ namespace {
|
||||
}
|
||||
|
||||
bool isAllocatable(unsigned Reg) {
|
||||
return Reg < regsAllocatable.size() && regsAllocatable.test(Reg);
|
||||
return Reg < TRI->getNumRegs() && MRI->isAllocatable(Reg);
|
||||
}
|
||||
|
||||
// Analysis information if available
|
||||
@ -439,8 +438,6 @@ void MachineVerifier::visitMachineFunctionBefore() {
|
||||
}
|
||||
}
|
||||
|
||||
regsAllocatable = TRI->getAllocatableSet(*MF);
|
||||
|
||||
markReachable(&MF->front());
|
||||
|
||||
// Build a set of the basic blocks in the function.
|
||||
|
Reference in New Issue
Block a user