forked from OSchip/llvm-project
Now that the X86 Maximal Stack Alignment Check pass has been removed (i.e.,
r168627), we no longer need to call the freezeReservedRegs() function a second time. Previously, this pass was conservatively adding the FP to the set of reserved registers, requiring the second update to the reserved registers. rdar://12719844 llvm-svn: 168630
This commit is contained in:
parent
b14873c4f1
commit
a44e1825a3
|
@ -58,7 +58,6 @@ void RegAllocBase::init(VirtRegMap &vrm,
|
|||
VRM = &vrm;
|
||||
LIS = &lis;
|
||||
Matrix = &mat;
|
||||
MRI->freezeReservedRegs(vrm.getMachineFunction());
|
||||
RegClassInfo.runOnMachineFunction(vrm.getMachineFunction());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue