[PATCH] D36746: [Asm] Improve "too few operands" errors

Oliver Stannard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 15 08:23:44 PDT 2017


olista01 created this revision.
Herald added a subscriber: javed.absar.

- We can still emit this error if the actual instruction has two or more operands missing compared to the expected one.
- We should only emit this error once per instruction.


Repository:
  rL LLVM

https://reviews.llvm.org/D36746

Files:
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  test/MC/ARM/diagnostics.s
  test/MC/ARM/ldrd-strd-gnu-bad-inst.s
  test/MC/ARM/thumb-diagnostics.s
  test/MC/ARM/thumb2-diagnostics.s
  utils/TableGen/AsmMatcherEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36746.111173.patch
Type: text/x-patch
Size: 4991 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170815/dfba0be6/attachment.bin>


More information about the llvm-commits mailing list