[PATCH] D118272: AMDGPU: Add code object v5 support and generate metadata for implicit kernel args
Changpeng Fang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 26 10:38:00 PST 2022
cfang created this revision.
cfang added reviewers: t-tye, kzhuravl, bcahoon, b-sumner, arsenm, lamb-j.
Herald added subscribers: foad, kerbowa, rupprecht, hiraditya, tpr, dstuttard, yaxunl, nhaehnle, jvesely.
Herald added a reviewer: jhenderson.
cfang requested review of this revision.
Herald added subscribers: MaskRay, wdng.
Herald added a project: LLVM.
- Add code object v5 support (deafult is still v4)
- Generate metadata for implicit kernel args for the new ABI
- Set the metadata version to be 1.2
Fixes:
SWDEV-307188, SWDEV-307189
https://reviews.llvm.org/D118272
Files:
llvm/docs/AMDGPUUsage.rst
llvm/include/llvm/BinaryFormat/ELF.h
llvm/include/llvm/Support/AMDGPUMetadata.h
llvm/lib/BinaryFormat/AMDGPUMetadataVerifier.cpp
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
llvm/test/CodeGen/AMDGPU/hsa-metadata-hidden-args-v5.ll
llvm/test/CodeGen/AMDGPU/hsa-metadata-queue-ptr-v5.ll
llvm/test/CodeGen/AMDGPU/hsa-metadata-reduced-hidden-args-v5.ll
llvm/tools/llvm-readobj/ELFDumper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118272.403332.patch
Type: text/x-patch
Size: 61367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220126/8988573d/attachment-0001.bin>
More information about the llvm-commits
mailing list