Reduce malloc thrashing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117572 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2010-10-28 18:41:23 +00:00
parent ab682a2090
commit 57ca3ccd45

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