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

Ivan Kosarev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 05:58:39 PST 2022


kosarev created this revision.
Herald added subscribers: foad, kerbowa, hiraditya, jvesely, arsenm.
Herald added a project: All.
kosarev requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This eliminates the neeed for custom checks for missing mandatory
operands, which is also expected to help implementing/fixing the support
for TFE modifiers in MBUF instructions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137549

Files:
  llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  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.473643.patch
Type: text/x-patch
Size: 26028 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221107/6e7e8b15/attachment.bin>


More information about the llvm-commits mailing list