summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocPBQP.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-11-26 23:25:41 +0000
committerChad Rosier <mcrosier@apple.com>2012-11-26 23:25:41 +0000
commitf8a3a62cdb372a7099ceb92b26aaa5a1d56296c4 (patch)
tree60d0222e2511a2e744e51208d8d7da2d77ece819 /llvm/lib/CodeGen/RegAllocPBQP.cpp
parenta44e1825a31d57349b319aae335ff53b2be73837 (diff)
downloadbcm5719-llvm-f8a3a62cdb372a7099ceb92b26aaa5a1d56296c4.tar.gz
bcm5719-llvm-f8a3a62cdb372a7099ceb92b26aaa5a1d56296c4.zip
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: 168631
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocPBQP.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocPBQP.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RegAllocPBQP.cpp b/llvm/lib/CodeGen/RegAllocPBQP.cpp
index 02ebce7a11a..f58d45f1316 100644
--- a/llvm/lib/CodeGen/RegAllocPBQP.cpp
+++ b/llvm/lib/CodeGen/RegAllocPBQP.cpp
@@ -552,8 +552,6 @@ bool RegAllocPBQP::runOnMachineFunction(MachineFunction &MF) {
vrm = &getAnalysis<VirtRegMap>();
spiller.reset(createInlineSpiller(*this, MF, *vrm));
- mri->freezeReservedRegs(MF);
-
DEBUG(dbgs() << "PBQP Register Allocating for " << mf->getName() << "\n");
// Allocator main loop:
OpenPOWER on IntegriCloud