diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-11-26 23:25:41 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-11-26 23:25:41 +0000 |
commit | 728aede2e9b436c7c3748379f01aa7ca42cd917e (patch) | |
tree | de8c0024aa46e6f30cdbb82f1013bd97c6cb7c2a /lib/CodeGen/RegAllocFast.cpp | |
parent | 216532ac0a7b333e814cc86b7c91358db6a7e819 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168631 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocFast.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocFast.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocFast.cpp b/lib/CodeGen/RegAllocFast.cpp index 88922169b3..3744b06f3a 100644 --- a/lib/CodeGen/RegAllocFast.cpp +++ b/lib/CodeGen/RegAllocFast.cpp @@ -1127,7 +1127,6 @@ bool RAFast::runOnMachineFunction(MachineFunction &Fn) { TM = &Fn.getTarget(); TRI = TM->getRegisterInfo(); TII = TM->getInstrInfo(); - MRI->freezeReservedRegs(Fn); RegClassInfo.runOnMachineFunction(Fn); UsedInInstr.clear(); UsedInInstr.setUniverse(TRI->getNumRegs()); |