[PATCH] D48179: [AMDGPU] Emit MessagePack HSA Metadata for v3 code object

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 14 10:03:24 PDT 2018


scott.linder created this revision.
Herald added subscribers: llvm-commits, t-tye, tpr, dstuttard, yaxunl, mgorny, nhaehnle, wdng, kzhuravl, arsenm.
scott.linder added dependencies: D48176: [AMDGPU] Refactor HSAMetadataStream::emitKernel (NFC), D47549: [AMDGPU] Update code object metadata format documentation.

Continue to present HSA metadata as YAML in ASM and when output by tools (e.g. llvm-readobj), but encode it in Messagepack in the code object.


Repository:
  rL LLVM

https://reviews.llvm.org/D48179

Files:
  include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h
  include/llvm/BinaryFormat/ELF.h
  include/llvm/Support/AMDGPUMetadata.h
  lib/BinaryFormat/AMDGPUMetadataVerifier.cpp
  lib/BinaryFormat/CMakeLists.txt
  lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  lib/Target/AMDGPU/AMDGPUAsmPrinter.h
  lib/Target/AMDGPU/AMDGPUPTNote.h
  lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  lib/Target/AMDGPU/MCTargetDesc/AMDGPUHSAMetadataStreamer.cpp
  lib/Target/AMDGPU/MCTargetDesc/AMDGPUHSAMetadataStreamer.h
  lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
  test/CodeGen/AMDGPU/attr-amdgpu-flat-work-group-size-v3.ll
  test/CodeGen/AMDGPU/code-object-v3.ll
  test/CodeGen/AMDGPU/hsa-metadata-deduce-ro-arg-v3.ll
  test/CodeGen/AMDGPU/hsa-metadata-enqueu-kernel-v3.ll
  test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full-v3.ll
  test/CodeGen/AMDGPU/hsa-metadata-hidden-args-v3.ll
  test/CodeGen/AMDGPU/hsa-metadata-images-v3.ll
  test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-1-v3.ll
  test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-2-v3.ll
  test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-3-v3.ll
  test/CodeGen/AMDGPU/hsa-metadata-kernel-code-props-v3.ll
  test/MC/AMDGPU/hsa-metadata-kernel-args-v3.s
  test/MC/AMDGPU/hsa-metadata-kernel-attrs-v3.s
  test/MC/AMDGPU/hsa-metadata-kernel-code-props-v3.s
  test/MC/AMDGPU/hsa-v3.s
  tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48179.151372.patch
Type: text/x-patch
Size: 184043 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180614/892c487c/attachment-0001.bin>


More information about the llvm-commits mailing list