- 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
Paths
| Differential D118272
AMDGPU: Add code object v5 support and generate metadata for implicit kernel args ClosedPublic Authored by cfang on Jan 26 2022, 10:37 AM.
Details Summary
Fixes: SWDEV-307188, SWDEV-307189
Diff Detail
Event TimelineComment Actions There are some clang-format issues to be addressed before committing. Other than that, the patch LGTM. Thanks! This revision is now accepted and ready to land.Jan 31 2022, 5:09 PM This revision was landed with ongoing or failed builds.Jan 31 2022, 6:09 PM Closed by commit rG1194b9cdda30: AMDGPU {NFC}: Add code object v5 support and generate metadata for implicit… (authored by cfang). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 404776 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.h
llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
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.h
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
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
|
Typo "dimensionality" here and below.