aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Mips/Mips16InstrInfo.h
diff options
context:
space:
mode:
authorReed Kotler <rkotler@mips.com>2013-02-16 09:47:57 +0000
committerReed Kotler <rkotler@mips.com>2013-02-16 09:47:57 +0000
commit6a0da011e42e553d497fce2059f43401e854b99d (patch)
treead03e0bc7470b81eeb1f06abf87ac2b8e3078201 /lib/Target/Mips/Mips16InstrInfo.h
parent6d3a278aabb0007e75a6c36c904538950e4b0093 (diff)
downloadexternal_llvm-6a0da011e42e553d497fce2059f43401e854b99d.zip
external_llvm-6a0da011e42e553d497fce2059f43401e854b99d.tar.gz
external_llvm-6a0da011e42e553d497fce2059f43401e854b99d.tar.bz2
Use a different scheme to chose 16/32 variants. This scheme is more
consistent with how BuildMI works. No new tests needed. All should work the same as before. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175342 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips16InstrInfo.h')
-rw-r--r--lib/Target/Mips/Mips16InstrInfo.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/Mips/Mips16InstrInfo.h b/lib/Target/Mips/Mips16InstrInfo.h
index f8570bd..0e8e87a 100644
--- a/lib/Target/Mips/Mips16InstrInfo.h
+++ b/lib/Target/Mips/Mips16InstrInfo.h
@@ -93,10 +93,8 @@ public:
//
// build the proper one based on the Imm field
//
- void BuildAddiuSpImm(MachineBasicBlock &MBB,
- MachineBasicBlock::iterator II, DebugLoc DL,
- int64_t Imm) const;
+ const MCInstrDesc& AddiuSpImm(int64_t Imm) const;
private:
virtual unsigned GetAnalyzableBrOpc(unsigned Opc) const;