[all-commits] [llvm/llvm-project] fe2f67: [AMDGPU] Remove Code Object V2 (#65715)
Pierre van Houtryve via All-commits
all-commits at lists.llvm.org
Thu Sep 21 03:00:59 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fe2f67e4ba62ce9f0c3a9adcff592a77606e5228
https://github.com/llvm/llvm-project/commit/fe2f67e4ba62ce9f0c3a9adcff592a77606e5228
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2023-09-21 (Thu, 21 Sep 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 lld/test/ELF/Inputs/amdgpu-kernel-0.s
M lld/test/ELF/Inputs/amdgpu-kernel-1.s
M lld/test/ELF/amdgpu-abi-version-err.s
M lld/test/ELF/amdgpu-elf-flags-err.s
M lld/test/ELF/amdgpu-elf-flags.s
R lld/test/ELF/amdgpu-kernels.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/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.dispatch.id.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.dispatch.ptr.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.kernarg.segment.ptr.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.queue.ptr.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.workgroup.id.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.workitem.id.ll
M llvm/test/CodeGen/AMDGPU/addrspacecast.ll
M llvm/test/CodeGen/AMDGPU/amdgpu.private-memory.ll
M llvm/test/CodeGen/AMDGPU/attr-amdgpu-flat-work-group-size.ll
M llvm/test/CodeGen/AMDGPU/call-graph-register-usage.ll
M llvm/test/CodeGen/AMDGPU/callee-special-input-vgprs.ll
M llvm/test/CodeGen/AMDGPU/control-flow-fastregalloc.ll
M llvm/test/CodeGen/AMDGPU/flat-for-global-subtarget-feature.ll
M llvm/test/CodeGen/AMDGPU/flat-scratch-reg.ll
M llvm/test/CodeGen/AMDGPU/gfx902-without-xnack.ll
M llvm/test/CodeGen/AMDGPU/hsa-default-device.ll
M llvm/test/CodeGen/AMDGPU/hsa-fp-mode.ll
M llvm/test/CodeGen/AMDGPU/hsa-func.ll
R llvm/test/CodeGen/AMDGPU/hsa-metadata-deduce-ro-arg-v2.ll
R llvm/test/CodeGen/AMDGPU/hsa-metadata-deduce-ro-arg.ll
R llvm/test/CodeGen/AMDGPU/hsa-metadata-enqueue-kernel.ll
R llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll
R llvm/test/CodeGen/AMDGPU/hsa-metadata-hidden-args.ll
R llvm/test/CodeGen/AMDGPU/hsa-metadata-images.ll
R llvm/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-1.ll
R llvm/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-2-v3.ll
R llvm/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-2.ll
R llvm/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-3.ll
R llvm/test/CodeGen/AMDGPU/hsa-metadata-kernel-code-props.ll
M llvm/test/CodeGen/AMDGPU/hsa-note-no-func.ll
M llvm/test/CodeGen/AMDGPU/hsa.ll
M llvm/test/CodeGen/AMDGPU/indirect-call.ll
M llvm/test/CodeGen/AMDGPU/kernel-argument-dag-lowering.ll
M llvm/test/CodeGen/AMDGPU/lds-alignment.ll
M llvm/test/CodeGen/AMDGPU/lds-size.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.dispatch.id.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.dispatch.ptr.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.implicitarg.ptr.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kernarg.segment.ptr.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.queue.ptr.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.workgroup.id.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.workitem.id.ll
M llvm/test/CodeGen/AMDGPU/nop-data.ll
R llvm/test/CodeGen/AMDGPU/private-element-size.ll
M llvm/test/CodeGen/AMDGPU/promote-alloca-no-opts.ll
M llvm/test/CodeGen/AMDGPU/promote-alloca-padding-size-estimate.ll
R llvm/test/CodeGen/AMDGPU/tid-code-object-v2-backwards-compatibility.ll
M llvm/test/CodeGen/AMDGPU/trap-abis.ll
M llvm/test/CodeGen/AMDGPU/trap.ll
M llvm/test/MC/AMDGPU/hsa-exp.s
R llvm/test/MC/AMDGPU/hsa-gfx10.s
R llvm/test/MC/AMDGPU/hsa-metadata-kernel-args.s
R llvm/test/MC/AMDGPU/hsa-metadata-kernel-attrs.s
R llvm/test/MC/AMDGPU/hsa-metadata-kernel-code-props.s
R llvm/test/MC/AMDGPU/hsa-metadata-kernel-debug-props.s
R llvm/test/MC/AMDGPU/hsa-metadata-unknown-key.s
R llvm/test/MC/AMDGPU/hsa-text.s
R llvm/test/MC/AMDGPU/hsa-wave-size.s
R llvm/test/MC/AMDGPU/hsa.s
R llvm/test/MC/AMDGPU/hsa_code_object_isa_args.s
M llvm/test/MC/AMDGPU/isa-version-hsa.s
M llvm/test/MC/AMDGPU/isa-version-pal.s
M llvm/test/MC/AMDGPU/isa-version-unk.s
Log Message:
-----------
[AMDGPU] Remove Code Object V2 (#65715)
Code Object V2 has been deprecated for more than a year now. We can
safely remove it from LLVM.
- [clang] Remove support for the `-mcode-object-version=2` option.
- [lld] Remove/refactor tests that were still using COV2
- [llvm] Update AMDGPUUsage.rst
- Code Object V2 docs are left for informational purposes because those
code objects may still be supported by the runtime/loaders for a while.
- [AMDGPU] Remove COV2 emission capabilities.
- [AMDGPU] Remove `MetadataStreamerYamlV2` which was only used by COV2
- [AMDGPU] Update all tests that were still using COV2 - They are either
deleted or ported directly to code object v4 (as v3 is also planned to
be removed soon).
More information about the All-commits
mailing list