[PATCH] D137549: [AsmParser] Match mandatory operands following optional operands.

Ivan Kosarev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 8 05:56:00 PST 2022


kosarev updated this revision to Diff 473970.
kosarev added a comment.

Addressed review feedback.

- Removed AMDGPU-specific changes.
- Added some richer description of the idea and reasoning.
- The generated code changed to stop after the last formal.
- Tests updated as suggested.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137549/new/

https://reviews.llvm.org/D137549

Files:
  llvm/test/MC/AMDGPU/gfx10_err_pos.s
  llvm/test/MC/AMDGPU/gfx9-asm-err.s
  llvm/test/MC/AMDGPU/gfx9_err_pos.s
  llvm/test/MC/AMDGPU/mubuf.s
  llvm/test/MC/SystemZ/asm-match.s
  llvm/test/MC/X86/x86_64-asm-match.s
  llvm/utils/TableGen/AsmMatcherEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137549.473970.patch
Type: text/x-patch
Size: 19203 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221108/f653d64f/attachment.bin>


More information about the llvm-commits mailing list