[PATCH] D31607: [ARM] Use table-gen'd assembly operand diags in ARM asm parser

Oliver Stannard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 3 10:00:28 PDT 2017


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

This switches the ARM AsmParser to use assembly operand diagnostics from
tablegen, rather than a switch statement on the ARMMatchResultTy. It
moves the existing diagnostic strings to tablegen, but adds no new ones,
so this is NFC except for one diagnostic string that had an off-by-1 error
in the hand-written switch statement.


Repository:
  rL LLVM

https://reviews.llvm.org/D31607

Files:
  lib/Target/ARM/ARMInstrInfo.td
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  test/MC/ARM/thumb2-diagnostics.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31607.93880.patch
Type: text/x-patch
Size: 11466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170403/784f1910/attachment.bin>


More information about the llvm-commits mailing list