mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
No need to clear the map here, it will always be empty
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11868 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7c78afefe9
commit
7b1af15612
@ -683,7 +683,6 @@ bool RA::runOnMachineFunction(MachineFunction &Fn) {
|
||||
|
||||
// initialize the virtual->physical register map to have a 'null'
|
||||
// mapping for all virtual registers
|
||||
Virt2PhysRegMap.clear();
|
||||
Virt2PhysRegMap.grow(MF->getSSARegMap()->getLastVirtReg());
|
||||
|
||||
// Loop over all of the basic blocks, eliminating virtual register references
|
||||
|
Loading…
Reference in New Issue
Block a user