[PATCH] D130105: [NFC][AMDGPU] Refactor AMDGPUDisassembler

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 19 11:32:18 PDT 2022


scott.linder created this revision.
Herald added subscribers: kosarev, jsilvanus, foad, kerbowa, rupprecht, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, emaste, arsenm.
Herald added a reviewer: jhenderson.
Herald added a reviewer: MaskRay.
Herald added a project: All.
scott.linder requested review of this revision.
Herald added subscribers: llvm-commits, StephenFan, wdng.
Herald added a project: LLVM.

Clean up ahead of a patch to fix bugs in the AMDGPUDisassembler.

Use lit.local.cfg substitutions and more idiomatic use of split-file to
simplify and extend existing kernel-descriptor disassembly tests.

Add a comment to AMDHSAKernelDescriptor.h, as at least one small set
towards keeping all kernel-descriptor sensitive code in sync.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130105

Files:
  llvm/include/llvm/Support/AMDHSAKernelDescriptor.h
  llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
  llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h
  llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-sgpr.s
  llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-vgpr.s
  llvm/test/tools/llvm-objdump/ELF/AMDGPU/lit.local.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130105.445894.patch
Type: text/x-patch
Size: 22044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220719/925ac16b/attachment.bin>


More information about the llvm-commits mailing list