Reduce malloc thrashing.

llvm-svn: 117572
This commit is contained in:
Benjamin Kramer 2010-10-28 18:41:23 +00:00
parent 505607e4c6
commit 851a994a42
1 changed files with 1 additions and 1 deletions

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