mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-06 03:38:34 +00:00
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:
parent
ab682a2090
commit
57ca3ccd45
@ -82,7 +82,7 @@ BitVector TargetRegisterInfo::getAllocatableSet(const MachineFunction &MF,
|
|||||||
|
|
||||||
// Mask out the reserved registers
|
// Mask out the reserved registers
|
||||||
BitVector Reserved = getReservedRegs(MF);
|
BitVector Reserved = getReservedRegs(MF);
|
||||||
Allocatable ^= Reserved & Allocatable;
|
Allocatable &= Reserved.flip();
|
||||||
|
|
||||||
return Allocatable;
|
return Allocatable;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user