diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-11-26 23:25:41 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-11-26 23:25:41 +0000 |
commit | f8a3a62cdb372a7099ceb92b26aaa5a1d56296c4 (patch) | |
tree | 60d0222e2511a2e744e51208d8d7da2d77ece819 /llvm/lib/CodeGen/RegAllocFast.cpp | |
parent | a44e1825a31d57349b319aae335ff53b2be73837 (diff) | |
download | llvm-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.cpp | 1 |
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()); |