diff options
Diffstat (limited to 'llvm/lib/Target/Mips')
-rw-r--r-- | llvm/lib/Target/Mips/Mips16InstrInfo.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/Mips16InstrInfo.td b/llvm/lib/Target/Mips/Mips16InstrInfo.td index f0d6a2ace12..135df75693d 100644 --- a/llvm/lib/Target/Mips/Mips16InstrInfo.td +++ b/llvm/lib/Target/Mips/Mips16InstrInfo.td @@ -1094,6 +1094,9 @@ class UncondBranch16_pat<SDNode OpNode, Instruction I>: def : Mips16Pat<(MipsJmpLink (i32 tglobaladdr:$dst)), (Jal16 tglobaladdr:$dst)>; +def : Mips16Pat<(MipsJmpLink (i32 texternalsym:$dst)), + (Jal16 texternalsym:$dst)>; + // Indirect branch def: Mips16Pat< (brind CPU16Regs:$rs), |