[PATCH] D46629: [mips] Accept 32-bit offsets for ld/sd/lld commands

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 8 23:01:05 PDT 2018


atanasyan created this revision.
atanasyan added a reviewer: sdardis.
Herald added a subscriber: arichardson.

This is a follow up to the https://reviews.llvm.org/rL330983. The patch teaches ld, sd, and lld commands accept 32-bit memory offsets by replacing `mem_simm16` operand to `mem_simmptr`. In fact, these commands should accept 64-bit offsets, but so large offsets require another command expanding and will be supported by a separate patch.


Repository:
  rL LLVM

https://reviews.llvm.org/D46629

Files:
  lib/Target/Mips/Mips64InstrInfo.td
  lib/Target/Mips/Mips64r6InstrInfo.td
  test/MC/Mips/mips64-expansions.s
  test/MC/Mips/mips64r6/invalid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46629.145864.patch
Type: text/x-patch
Size: 5384 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180509/14feabe4/attachment.bin>


More information about the llvm-commits mailing list