[PATCH] D25781: AMDGPU: Emit runtime metadata as a note element in .note section

Yaxun Liu via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 12:26:51 PDT 2016


yaxunl updated this revision to Diff 75200.
yaxunl added a comment.
Herald added a subscriber: rampitec.

Revised by Laurent's suggestions.

Fixed size of name and desc. They should not include padding 0's.

Extracted enums of note type as a separate header file so that it can be shared between backend and runtime.


https://reviews.llvm.org/D25781

Files:
  lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  lib/Target/AMDGPU/AMDGPUAsmPrinter.h
  lib/Target/AMDGPU/AMDGPUNoteType.h
  lib/Target/AMDGPU/AMDGPURuntimeMetadata.h
  lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
  test/CodeGen/AMDGPU/invalid-opencl-version-metadata1.ll
  test/CodeGen/AMDGPU/invalid-opencl-version-metadata2.ll
  test/CodeGen/AMDGPU/invalid-opencl-version-metadata3.ll
  test/CodeGen/AMDGPU/runtime-metadata.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25781.75200.patch
Type: text/x-patch
Size: 28973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161019/24427ea7/attachment.bin>


More information about the llvm-commits mailing list