[PATCH] [ARM64] Re-work parsing of ADD/SUB shifted immediate operands

Bradley Smith bradley.smith at arm.com
Thu May 8 07:39:13 PDT 2014


New patch that removes the incorrect use of ARM64_AM shift encodings in isAddSubImm and tightens up the shift parsing in tryParseAddSubImm to disallow garbage shifts. As for simplifying tryParseAddSubImm, I'm not convinced that only allowing 12/0 there is going to actually simplify anything, but rather just move code from isAddSubImm.

http://reviews.llvm.org/D3665

Files:
  lib/Target/ARM64/ARM64InstrFormats.td
  lib/Target/ARM64/ARM64InstrInfo.td
  lib/Target/ARM64/AsmParser/ARM64AsmParser.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3665.9219.patch
Type: text/x-patch
Size: 21219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140508/19f6c76a/attachment.bin>


More information about the llvm-commits mailing list