aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/RegAllocBase.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-11-26 23:14:37 +0000
committerChad Rosier <mcrosier@apple.com>2012-11-26 23:14:37 +0000
commita44e1825a31d57349b319aae335ff53b2be73837 (patch)
treefbaee717e074dc84d2607891b54632c8900e6ea2 /llvm/lib/CodeGen/RegAllocBase.cpp
parentb14873c4f1dd86e4c0af0713dc2fcb28e770be38 (diff)
downloadllvm-a44e1825a31d57349b319aae335ff53b2be73837.zip
llvm-a44e1825a31d57349b319aae335ff53b2be73837.tar.gz
llvm-a44e1825a31d57349b319aae335ff53b2be73837.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 llvm-svn: 168630
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBase.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocBase.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBase.cpp b/llvm/lib/CodeGen/RegAllocBase.cpp
index 993dbc7..2b598e3 100644
--- a/llvm/lib/CodeGen/RegAllocBase.cpp
+++ b/llvm/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());
}