[mips][mips64r6] Use JALR for indirect branches instead of JR (which is not available...
authorDaniel Sanders <daniel.sanders@imgtec.com>
Wed, 9 Jul 2014 10:21:59 +0000 (10:21 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Wed, 9 Jul 2014 10:21:59 +0000 (10:21 +0000)
commitf5a5fbd3f4cd3e7b8b0f96a2dc57d35b04851f1f
tree92bf7b129bb4c6b4b93fae6436c9dc8b45bb5cfc
parent338513b3fa3f1f9b7d2311b5e8bd6a3540dbb0da
[mips][mips64r6] Use JALR for indirect branches instead of JR (which is not available on MIPS32r6/MIPS64r6)

Summary:
This completes the change to use JALR instead of JR on MIPS32r6/MIPS64r6.

Reviewers: jkolek, vmedic, zoran.jovanovic, dsanders

Reviewed By: dsanders

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D4269

llvm-svn: 212605
llvm/lib/Target/Mips/Mips16InstrInfo.td
llvm/lib/Target/Mips/Mips64InstrInfo.td
llvm/lib/Target/Mips/MipsAsmPrinter.cpp
llvm/lib/Target/Mips/MipsAsmPrinter.h
llvm/lib/Target/Mips/MipsInstrInfo.td
llvm/test/CodeGen/Mips/llvm-ir/call.ll
llvm/test/CodeGen/Mips/llvm-ir/indirectbr.ll