mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
Remember to filter out reserved rergisters from the allocation order.
llvm-svn: 121411
This commit is contained in:
parent
5bb5c67227
commit
fe4b9ee934
@ -165,7 +165,7 @@ bool RAGreedy::reassignVReg(LiveInterval &InterferingVReg,
|
||||
E = TRC->allocation_order_end(*MF);
|
||||
I != E; ++I) {
|
||||
unsigned PhysReg = *I;
|
||||
if (PhysReg == OldPhysReg)
|
||||
if (PhysReg == OldPhysReg || ReservedRegs.test(PhysReg))
|
||||
continue;
|
||||
|
||||
// Instantiate a "subquery", not to be confused with the Queries array.
|
||||
|
Loading…
Reference in New Issue
Block a user