Skip to content

Commit

Permalink
Now that the X86 Maximal Stack Alignment Check pass has been removed …
Browse files Browse the repository at this point in the history
…(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@168630 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Chad Rosier committed Nov 26, 2012
1 parent 0c617e6 commit 216532a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/CodeGen/RegAllocBase.cpp
Expand Up @@ -58,7 +58,6 @@ void RegAllocBase::init(VirtRegMap &vrm,
VRM = &vrm;
LIS = &lis;
Matrix = &mat;
MRI->freezeReservedRegs(vrm.getMachineFunction());
RegClassInfo.runOnMachineFunction(vrm.getMachineFunction());
}

Expand Down

0 comments on commit 216532a

Please sign in to comment.