summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorReed Kotler <rkotler@mips.com>2013-02-18 05:43:03 +0000
committerReed Kotler <rkotler@mips.com>2013-02-18 05:43:03 +0000
commit1460738710af7f6f4d2347ba727f508a0f25a9bb (patch)
treedcee8d27ff8af0e65af0d88fc8de2024338fdf1e /llvm/lib
parent6879e56dc7ed5e871bf6bd41b0c01bfdbf95142a (diff)
downloadbcm5719-llvm-1460738710af7f6f4d2347ba727f508a0f25a9bb.tar.gz
bcm5719-llvm-1460738710af7f6f4d2347ba727f508a0f25a9bb.zip
Expand macro/pseudo instructions BtnezT8SltX16 and BtnezT8SltuX16.
llvm-svn: 175420
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Mips/Mips16InstrInfo.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/Mips16InstrInfo.cpp b/llvm/lib/Target/Mips/Mips16InstrInfo.cpp
index e0277ff5a00..ab1258a1638 100644
--- a/llvm/lib/Target/Mips/Mips16InstrInfo.cpp
+++ b/llvm/lib/Target/Mips/Mips16InstrInfo.cpp
@@ -150,6 +150,14 @@ bool Mips16InstrInfo::expandPostRAPseudo(MachineBasicBlock::iterator MI) const {
case Mips::BtnezT8CmpX16:
ExpandFEXT_T8I816_ins(MBB, MI, Mips::BtnezX16, Mips::CmpRxRy16);
break;
+ case Mips::BtnezT8SltX16:
+ ExpandFEXT_T8I816_ins(MBB, MI, Mips::BtnezX16, Mips::SltRxRy16);
+ break;
+ case Mips::BtnezT8SltuX16:
+ // TBD: figure out a way to get this or remove the instruction
+ // altogether.
+ ExpandFEXT_T8I816_ins(MBB, MI, Mips::BtnezX16, Mips::SltuRxRy16);
+ break;
case Mips::RetRA16:
ExpandRetRA16(MBB, MI, Mips::JrcRa16);
break;
OpenPOWER on IntegriCloud