mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
No need to clear the map here, it will always be empty
llvm-svn: 11868
This commit is contained in:
parent
2b315a3577
commit
ac94c441b6
@ -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…
x
Reference in New Issue
Block a user