[PATCH] D31530: [ARM] Use new assembler diags for ARM (WIP)

Oliver Stannard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 31 04:06:49 PDT 2017


olista01 created this revision.
Herald added a subscriber: aemerson.

This converts the ARM AsmParser to use the new assembly matcher error
reporting mechanism, which allows errors to be reported for multiple
instruction encodings when it is ambiguous which one the user intended
to use.

With this patch there are currently 46 regression test failures (all in
test/MC/ARM), which I still need to update. I'm posting this patch
before doing that as an example of how the target-independent mechanism
will be used by target-specific assembly parsers.


Repository:
  rL LLVM

https://reviews.llvm.org/D31530

Files:
  lib/Target/ARM/ARM.td
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31530.93612.patch
Type: text/x-patch
Size: 17995 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170331/ad9b7200/attachment.bin>


More information about the llvm-commits mailing list