[all-commits] [llvm/llvm-project] 4428b0: Reland: [AMDGPU] Remove Code Object V3 (#67118)

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Tue Nov 7 03:23:21 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4428b01faa41bb9afd75ae88c3ecbdb480a83e4d
      https://github.com/llvm/llvm-project/commit/4428b01faa41bb9afd75ae88c3ecbdb480a83e4d
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M clang/include/clang/Basic/TargetOptions.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/CodeGenCUDA/amdgpu-code-object-version.cu
    M clang/test/Driver/hip-code-object-version.hip
    M clang/test/Driver/hip-device-libs.hip
    M lld/test/ELF/amdgpu-abi-version.s
    M llvm/docs/AMDGPUUsage.rst
    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/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
    M llvm/test/CodeGen/AMDGPU/GlobalISel/implicit-kernarg-backend-usage-global-isel.ll
    R llvm/test/CodeGen/AMDGPU/attr-amdgpu-flat-work-group-size-v3.ll
    R llvm/test/CodeGen/AMDGPU/directive-amdgcn-target-v3.ll
    A llvm/test/CodeGen/AMDGPU/hsa-metadata-enqueue-kernel-.ll
    R llvm/test/CodeGen/AMDGPU/hsa-metadata-enqueue-kernel-v3.ll
    M llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ctor-dtor-list.ll
    R llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full-v3.ll
    A llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll
    R llvm/test/CodeGen/AMDGPU/hsa-metadata-hidden-args-v3.ll
    A llvm/test/CodeGen/AMDGPU/hsa-metadata-hidden-args-v4.ll
    A llvm/test/CodeGen/AMDGPU/hsa-metadata-hostcall-present-asan.ll
    R llvm/test/CodeGen/AMDGPU/hsa-metadata-hostcall-present-v3-asan.ll
    R llvm/test/CodeGen/AMDGPU/hsa-metadata-hostcall-v3.ll
    A llvm/test/CodeGen/AMDGPU/hsa-metadata-hostcall-v4.ll
    R llvm/test/CodeGen/AMDGPU/hsa-metadata-images-v3.ll
    A llvm/test/CodeGen/AMDGPU/hsa-metadata-images.ll
    R llvm/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-1-v3.ll
    A llvm/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-1.ll
    R llvm/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-3-v3.ll
    A llvm/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-3.ll
    R llvm/test/CodeGen/AMDGPU/hsa-metadata-kernel-code-props-v3.ll
    A llvm/test/CodeGen/AMDGPU/hsa-metadata-kernel-code-props.ll
    M llvm/test/CodeGen/AMDGPU/implicit-kernarg-backend-usage.ll
    M llvm/test/CodeGen/AMDGPU/kernarg-size.ll
    M llvm/test/CodeGen/AMDGPU/stack-realign-kernel.ll
    M llvm/test/CodeGen/AMDGPU/trap-abis.ll
    R llvm/test/MC/AMDGPU/hsa-diag-v3.s
    A llvm/test/MC/AMDGPU/hsa-diag-v4.s
    R llvm/test/MC/AMDGPU/hsa-gfx10-v3.s
    R llvm/test/MC/AMDGPU/hsa-gfx11-v3.s
    R llvm/test/MC/AMDGPU/hsa-gfx90a-v3.s
    R llvm/test/MC/AMDGPU/hsa-gfx940-v3.s
    R llvm/test/MC/AMDGPU/hsa-v3.s
    M llvm/test/MC/AMDGPU/user-sgpr-count-diag.s
    M llvm/test/MC/AMDGPU/user-sgpr-count.s

  Log Message:
  -----------
  Reland: [AMDGPU] Remove Code Object V3 (#67118)

V3 has been deprecated for a while as well, so it can safely be removed
like V2 was removed.

- [Clang] Set minimum code object version to 4
- [lld] Fix tests using code object v3
- Remove code object V3 from the AMDGPU backend, and delete or port v3
tests to v4.
- Update docs to make it clear V3 can no longer be emitted.




More information about the All-commits mailing list