[PATCH] D45020: [mips] Accept 32-bit offsets for lb and lbu commands

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 12 07:17:51 PDT 2018


atanasyan added a comment.

In https://reviews.llvm.org/D45020#1056816, @sdardis wrote:

> we should use the 'mem' operand for the lb and lbu instructions. That will allow the parser to match larger offsets than those instructions permit.


BTW do you suggest to escape sub-classing the 'mem' operand at all? If so, we won't be able to diagnose that an operand does not fit 32 or 64 bit range.


Repository:
  rL LLVM

https://reviews.llvm.org/D45020





More information about the llvm-commits mailing list