[all-commits] [llvm/llvm-project] 1194b9: AMDGPU {NFC}: Add code object v5 support and gener...

Changpeng Fang via All-commits all-commits at lists.llvm.org
Mon Jan 31 18:09:29 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1194b9cdda30df3b76f8dc932d438dc1b3f3ed6c
      https://github.com/llvm/llvm-project/commit/1194b9cdda30df3b76f8dc932d438dc1b3f3ed6c
  Author: Changpeng Fang <Changpeng.Fang at amd.com>
  Date:   2022-01-31 (Mon, 31 Jan 2022)

  Changed paths:
    M llvm/docs/AMDGPUUsage.rst
    M llvm/include/llvm/BinaryFormat/ELF.h
    M llvm/include/llvm/Support/AMDGPUMetadata.h
    M llvm/lib/BinaryFormat/AMDGPUMetadataVerifier.cpp
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
    A llvm/test/CodeGen/AMDGPU/hsa-metadata-hidden-args-v5.ll
    A llvm/test/CodeGen/AMDGPU/hsa-metadata-queue-ptr-v5.ll
    A llvm/test/CodeGen/AMDGPU/hsa-metadata-reduced-hidden-args-v5.ll
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  AMDGPU {NFC}: Add code object v5 support and generate metadata for implicit kernel args

Summary:
  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

Reviewers:
  t-tye, b-sumner, arsenm, and bcahoon

Fixes:
  SWDEV-307188, SWDEV-307189

Differential Revision:
  https://reviews.llvm.org/D118272




More information about the All-commits mailing list