[PATCH] [ARM64] Fix the misleading diagnostic on bad extend amount of reg+reg addressing mode.

Kevin Qin kevinqindev at gmail.com
Thu May 8 03:11:19 PDT 2014


Hi grosbach, t.p.northover,

Hi Tim and Jim,

This patch is going to fix Bug 19502 (http://llvm.org/bugs/show_bug.cgi?id=19502). As comments described, I can't simply adding new diagnostic to asmoperand, so I implemented this in C code by a "hack" way. It's the best solution I can image without refactoring whole load/store implementation. Please review, thanks.

http://reviews.llvm.org/D3662

Files:
  lib/Target/ARM64/ARM64InstrFormats.td
  lib/Target/ARM64/AsmParser/ARM64AsmParser.cpp
  test/MC/ARM64/diags.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3662.9203.patch
Type: text/x-patch
Size: 7853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140508/85e3b02b/attachment.bin>


More information about the llvm-commits mailing list