[PATCH] D16054: [mips] Never select JAL for calls to an absolute immediate address.

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 11 02:48:21 PST 2016


dsanders created this revision.
dsanders added reviewers: vkalintiris, jaydeep, bhushan.
dsanders added a subscriber: llvm-commits.
Herald added a subscriber: dsanders.

It actually takes an offset into the current PC-region.

This is expected to fix the 'expr' command in lldb.

http://reviews.llvm.org/D16054

Files:
  lib/Target/Mips/MipsInstrInfo.td
  test/CodeGen/Mips/llvm-ir/call.ll
  test/MC/Disassembler/Mips/mips2/valid-mips2.txt
  test/MC/Disassembler/Mips/mips3/valid-mips3.txt
  test/MC/Disassembler/Mips/mips4/valid-mips4.txt
  test/MC/Mips/mips1/valid.s
  test/MC/Mips/mips2/valid.s
  test/MC/Mips/mips3/valid.s
  test/MC/Mips/mips32/valid.s
  test/MC/Mips/mips32r2/valid.s
  test/MC/Mips/mips32r3/valid.s
  test/MC/Mips/mips32r5/valid.s
  test/MC/Mips/mips32r6/valid.s
  test/MC/Mips/mips4/valid.s
  test/MC/Mips/mips5/valid.s
  test/MC/Mips/mips64/valid.s
  test/MC/Mips/mips64r2/valid.s
  test/MC/Mips/mips64r3/valid.s
  test/MC/Mips/mips64r5/valid.s
  test/MC/Mips/mips64r6/valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16054.44455.patch
Type: text/x-patch
Size: 14908 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160111/eb11906b/attachment.bin>


More information about the llvm-commits mailing list