[PATCH] D87234: [AMDGPU][MC] Improved diagnostic messages for invalid registers

Dmitry Preobrazhensky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 7 06:45:52 PDT 2020


dp created this revision.
dp added reviewers: arsenm, rampitec.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: LLVM.
dp requested review of this revision.
Herald added a subscriber: wdng.

Corrected parser to issue meaningful error messages for invalid and malformed registers.

See bug 41303 <https://bugs.llvm.org/show_bug.cgi?id=41303>.


https://reviews.llvm.org/D87234

Files:
  llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  llvm/test/MC/AMDGPU/expressions.s
  llvm/test/MC/AMDGPU/flat-scratch.s
  llvm/test/MC/AMDGPU/literals.s
  llvm/test/MC/AMDGPU/mtbuf.s
  llvm/test/MC/AMDGPU/out-of-range-registers.s
  llvm/test/MC/AMDGPU/reg-syntax-err.s
  llvm/test/MC/AMDGPU/reg-syntax-extra.s
  llvm/test/MC/AMDGPU/smem.s
  llvm/test/MC/AMDGPU/smrd-err.s
  llvm/test/MC/AMDGPU/smrd.s
  llvm/test/MC/AMDGPU/sop1-err.s
  llvm/test/MC/AMDGPU/sop1.s
  llvm/test/MC/AMDGPU/sop2.s
  llvm/test/MC/AMDGPU/sopk.s
  llvm/test/MC/AMDGPU/trap.s
  llvm/test/MC/AMDGPU/vop3.s
  llvm/test/MC/AMDGPU/vop_sdwa.s
  llvm/test/MC/AMDGPU/xnack-mask.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87234.290274.patch
Type: text/x-patch
Size: 82628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200907/3355010f/attachment-0001.bin>


More information about the llvm-commits mailing list