summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsInstrInfo.h
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-07-10 00:19:06 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-07-10 00:19:06 +0000
commit182ef6fcaacbf44e17a96ea6614cbb5e1af1c3c2 (patch)
treedecad739be2bc54c93de22590effcc899df32658 /lib/Target/Mips/MipsInstrInfo.h
parent655b5a48b956d91e8656d8d2ef062dd9c2bf8591 (diff)
downloadllvm-182ef6fcaacbf44e17a96ea6614cbb5e1af1c3c2.tar.gz
llvm-182ef6fcaacbf44e17a96ea6614cbb5e1af1c3c2.tar.bz2
llvm-182ef6fcaacbf44e17a96ea6614cbb5e1af1c3c2.tar.xz
Make register Mips::RA allocatable if not in mips16 mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsInstrInfo.h')
-rw-r--r--lib/Target/Mips/MipsInstrInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsInstrInfo.h b/lib/Target/Mips/MipsInstrInfo.h
index 7a0065b634..b4721a7b39 100644
--- a/lib/Target/Mips/MipsInstrInfo.h
+++ b/lib/Target/Mips/MipsInstrInfo.h
@@ -63,6 +63,8 @@ public:
virtual unsigned RemoveBranch(MachineBasicBlock &MBB) const;
private:
+ void ExpandRetRA(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
+ unsigned Opc) const;
void BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB, DebugLoc DL,
const SmallVectorImpl<MachineOperand>& Cond) const;
void ExpandExtractElementF64(MachineBasicBlock &MBB,