1
0
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:
Benjamin Kramer 2010-10-28 18:41:23 +00:00
parent d02c1c7d77
commit fbfb8cf5f8

View File

@ -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;
}