[PATCH] D46513: [mips] Accept 32-bit offsets for lh and lhu commands

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 6 23:13:04 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 lh and lhu commands accepts 32-bit memory offsets by replacing `mem_simm16` operand to `mem_simmptr`.


Repository:
  rL LLVM

https://reviews.llvm.org/D46513

Files:
  lib/Target/Mips/MicroMipsInstrInfo.td
  lib/Target/Mips/MipsInstrInfo.td
  test/MC/Mips/micromips-expansions.s
  test/MC/Mips/micromips/invalid.s
  test/MC/Mips/micromips32r6/invalid.s
  test/MC/Mips/mips-expansions.s
  test/MC/Mips/mips32r6/invalid.s
  test/MC/Mips/mips64r6/invalid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46513.145426.patch
Type: text/x-patch
Size: 10816 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180507/853e45aa/attachment.bin>


More information about the llvm-commits mailing list