diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-11-26 23:14:37 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-11-26 23:14:37 +0000 |
commit | 216532ac0a7b333e814cc86b7c91358db6a7e819 (patch) | |
tree | 618142d4b42ed52dcdc04f83996bb5e39cd1af92 | |
parent | 0c617e6026c9b1521aab100662f5c3664dda1768 (diff) | |
download | external_llvm-216532ac0a7b333e814cc86b7c91358db6a7e819.zip external_llvm-216532ac0a7b333e814cc86b7c91358db6a7e819.tar.gz external_llvm-216532ac0a7b333e814cc86b7c91358db6a7e819.tar.bz2 |
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@168630 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/RegAllocBase.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocBase.cpp b/lib/CodeGen/RegAllocBase.cpp index 993dbc7..2b598e3 100644 --- a/lib/CodeGen/RegAllocBase.cpp +++ b/lib/CodeGen/RegAllocBase.cpp @@ -58,7 +58,6 @@ void RegAllocBase::init(VirtRegMap &vrm, VRM = &vrm; LIS = &lis; Matrix = &mat; - MRI->freezeReservedRegs(vrm.getMachineFunction()); RegClassInfo.runOnMachineFunction(vrm.getMachineFunction()); } |