summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit8cf5103b2ba804545f95be1398933d01139eaa98 (patch)
treec6a7e3eed1926e68804ab357218f759e3a9d6b5c /llvm/lib/Target/Mips/Mips16InstrInfo.h
parent103e16e4cce5ee896a9d84cb52a880dfc9d906e0 (diff)
downloadbcm5719-llvm-8cf5103b2ba804545f95be1398933d01139eaa98.tar.gz
bcm5719-llvm-8cf5103b2ba804545f95be1398933d01139eaa98.zip
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. llvm-svn: 175342
Diffstat (limited to 'llvm/lib/Target/Mips/Mips16InstrInfo.h')
-rw-r--r--llvm/lib/Target/Mips/Mips16InstrInfo.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Target/Mips/Mips16InstrInfo.h b/llvm/lib/Target/Mips/Mips16InstrInfo.h
index f8570bdc27c..0e8e87ab2a7 100644
--- a/llvm/lib/Target/Mips/Mips16InstrInfo.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud