[PATCH] D25046: AMDGPU: Emit runtime metadata version 2 as YAML
Yaxun Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 2 11:05:44 PST 2016
yaxunl updated this revision to Diff 80102.
yaxunl added a comment.
Revised by Nikolay's comments.
Moved the in-memory representation of runtime metadata to AMDGPURuntimeMetadata.h to share with runtime.
Added function Program::Metadata::fromYAML for parsing YAML string to the the in-memory representation of runtime metadata.
Added options -amdgpu-dump-rtmd for dumping the runtime metadata as YAML string and -amdgpu-check-rtmd-parser for testing the parser.
https://reviews.llvm.org/D25046
Files:
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
lib/Target/AMDGPU/AMDGPURuntimeMetadata.h
lib/Target/AMDGPU/MCTargetDesc/AMDGPURuntimeMD.cpp
lib/Target/AMDGPU/MCTargetDesc/AMDGPURuntimeMD.h
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
lib/Target/AMDGPU/MCTargetDesc/CMakeLists.txt
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
tools/llvm-readobj/ELFDumper.cpp
tools/llvm-readobj/ObjDumper.h
tools/llvm-readobj/llvm-readobj.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25046.80102.patch
Type: text/x-patch
Size: 131825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161202/2e94263a/attachment-0001.bin>
More information about the llvm-commits
mailing list