[PATCH] D138492: [AMDGPU][AsmParser] Refine parsing instruction operands.

Ivan Kosarev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 22 06:06:43 PST 2022


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

Eliminates the need for working around optional and token operands being
mistakenly parsed as expressions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138492

Files:
  llvm/include/llvm/Target/Target.td
  llvm/lib/Target/AMDGPU/AMDGPU.td
  llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  llvm/lib/Target/AMDGPU/SIInstrInfo.td
  llvm/test/MC/AMDGPU/ds-err.s
  llvm/test/MC/AMDGPU/gfx11_asm_exp.s
  llvm/test/MC/AMDGPU/gfx11_asm_mimg_err.s
  llvm/test/MC/AMDGPU/gfx11_asm_wmma.s
  llvm/test/MC/AMDGPU/gfx9-asm-err.s
  llvm/test/MC/AMDGPU/gfx90a_asm_features.s
  llvm/test/MC/AMDGPU/gfx90a_err.s
  llvm/test/MC/AMDGPU/gfx940_err.s
  llvm/test/MC/AMDGPU/mimg-err.s
  llvm/test/MC/AMDGPU/mtbuf.s
  llvm/test/MC/AMDGPU/mubuf.s
  llvm/test/MC/AMDGPU/smem.s
  llvm/test/MC/AMDGPU/vop3-errs.s
  llvm/test/MC/AMDGPU/vop3-gfx9.s
  llvm/test/MC/AMDGPU/vop_dpp.s
  llvm/test/MC/AMDGPU/vop_sdwa.s
  llvm/utils/TableGen/AsmMatcherEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138492.477158.patch
Type: text/x-patch
Size: 178955 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221122/8e6a2c64/attachment-0001.bin>


More information about the llvm-commits mailing list