mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
Reduce malloc thrashing.
llvm-svn: 117572
This commit is contained in:
parent
d02c1c7d77
commit
fbfb8cf5f8
@ -82,7 +82,7 @@ BitVector TargetRegisterInfo::getAllocatableSet(const MachineFunction &MF,
|
||||
|
||||
// Mask out the reserved registers
|
||||
BitVector Reserved = getReservedRegs(MF);
|
||||
Allocatable ^= Reserved & Allocatable;
|
||||
Allocatable &= Reserved.flip();
|
||||
|
||||
return Allocatable;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user