summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocFast.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
commit18bb0545ff79b85ef424e95e2170e3a06f11b735 (patch)
treef9911544f787bb77fc671c42377a6a7c9cea1ffb /lib/CodeGen/RegAllocFast.cpp
parent0d5dbcb5dcffc57e60b55418ef29c7b1929529ff (diff)
downloadllvm-18bb0545ff79b85ef424e95e2170e3a06f11b735.tar.gz
llvm-18bb0545ff79b85ef424e95e2170e3a06f11b735.tar.bz2
llvm-18bb0545ff79b85ef424e95e2170e3a06f11b735.tar.xz
Revert r168630, r168631, and r168633 as these are causing nightly test failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168751 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocFast.cpp')
-rw-r--r--lib/CodeGen/RegAllocFast.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAllocFast.cpp b/lib/CodeGen/RegAllocFast.cpp
index 3744b06f3a..88922169b3 100644
--- a/lib/CodeGen/RegAllocFast.cpp
+++ b/lib/CodeGen/RegAllocFast.cpp
@@ -1127,6 +1127,7 @@ bool RAFast::runOnMachineFunction(MachineFunction &Fn) {
TM = &Fn.getTarget();
TRI = TM->getRegisterInfo();
TII = TM->getInstrInfo();
+ MRI->freezeReservedRegs(Fn);
RegClassInfo.runOnMachineFunction(Fn);
UsedInInstr.clear();
UsedInInstr.setUniverse(TRI->getNumRegs());