diff options
| author | Akira Hatanaka <ahatanak@gmail.com> | 2011-05-20 18:39:33 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanak@gmail.com> | 2011-05-20 18:39:33 +0000 |
| commit | 43407fe6331cff494f3c1908f9c9efd591b43289 (patch) | |
| tree | e24401b01b1b0809df5be0ab791688515b37c869 /llvm/lib/Target/Mips/MipsFrameLowering.h | |
| parent | f44aadf0fd0265500b04c08c9371b298e764562e (diff) | |
| download | bcm5719-llvm-43407fe6331cff494f3c1908f9c9efd591b43289.tar.gz bcm5719-llvm-43407fe6331cff494f3c1908f9c9efd591b43289.zip | |
Make $fp and $ra callee-saved registers and let PrologEpilogInserter handle
saving and restoring them.
llvm-svn: 131745
Diffstat (limited to 'llvm/lib/Target/Mips/MipsFrameLowering.h')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsFrameLowering.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsFrameLowering.h b/llvm/lib/Target/Mips/MipsFrameLowering.h index 34647df4f35..f42711da841 100644 --- a/llvm/lib/Target/Mips/MipsFrameLowering.h +++ b/llvm/lib/Target/Mips/MipsFrameLowering.h @@ -40,6 +40,8 @@ public: bool hasFP(const MachineFunction &MF) const; + void processFunctionBeforeCalleeSavedScan(MachineFunction &MF, + RegScavenger *RS) const; void processFunctionBeforeFrameFinalized(MachineFunction &MF) const; }; |

