aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/RegAllocFast.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/RegAllocFast.cpp
parenta44e1825a31d57349b319aae335ff53b2be73837 (diff)
downloadllvm-f8a3a62cdb372a7099ceb92b26aaa5a1d56296c4.zip
llvm-f8a3a62cdb372a7099ceb92b26aaa5a1d56296c4.tar.gz
llvm-f8a3a62cdb372a7099ceb92b26aaa5a1d56296c4.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: 168631
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocFast.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocFast.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocFast.cpp b/llvm/lib/CodeGen/RegAllocFast.cpp
index 8892216..3744b06 100644
--- a/llvm/lib/CodeGen/RegAllocFast.cpp
+++ b/llvm/lib/CodeGen/RegAllocFast.cpp
@@ -1127,7 +1127,6 @@ 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());