summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocPBQP.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-11-28 00:21:29 +0000
committerChad Rosier <mcrosier@apple.com>2012-11-28 00:21:29 +0000
commited119d542b4222fc37dfeb6f8cff44d838dbcd73 (patch)
tree81d73c152f7658b04d3bf39a044963c708b343b2 /llvm/lib/CodeGen/RegAllocPBQP.cpp
parent93a39dfdf32bc19af2b26a2809ebccbbf7f986c8 (diff)
downloadbcm5719-llvm-ed119d542b4222fc37dfeb6f8cff44d838dbcd73.tar.gz
bcm5719-llvm-ed119d542b4222fc37dfeb6f8cff44d838dbcd73.zip
Revert r168630, r168631, and r168633 as these are causing nightly test failures.
llvm-svn: 168751
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocPBQP.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocPBQP.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAllocPBQP.cpp b/llvm/lib/CodeGen/RegAllocPBQP.cpp
index f58d45f1316..02ebce7a11a 100644
--- a/llvm/lib/CodeGen/RegAllocPBQP.cpp
+++ b/llvm/lib/CodeGen/RegAllocPBQP.cpp
@@ -552,6 +552,8 @@ 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