aboutsummaryrefslogtreecommitdiff
path: root/llvm/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
commited119d542b4222fc37dfeb6f8cff44d838dbcd73 (patch)
tree81d73c152f7658b04d3bf39a044963c708b343b2 /llvm/lib/CodeGen/RegAllocFast.cpp
parent93a39dfdf32bc19af2b26a2809ebccbbf7f986c8 (diff)
downloadllvm-ed119d542b4222fc37dfeb6f8cff44d838dbcd73.zip
llvm-ed119d542b4222fc37dfeb6f8cff44d838dbcd73.tar.gz
llvm-ed119d542b4222fc37dfeb6f8cff44d838dbcd73.tar.bz2
Revert r168630, r168631, and r168633 as these are causing nightly test failures.
llvm-svn: 168751
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocFast.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocFast.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAllocFast.cpp b/llvm/lib/CodeGen/RegAllocFast.cpp
index 3744b06..8892216 100644
--- a/llvm/lib/CodeGen/RegAllocFast.cpp
+++ b/llvm/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());