forked from OSchip/llvm-project
No need to clear the map here, it will always be empty
llvm-svn: 11868
This commit is contained in:
parent
5e39cf9fbd
commit
28a0885929
|
@ -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