[all-commits] [llvm/llvm-project] d96361: [AMDGPU] Add the uses_dynamic_stack field to the k...

Abinav Puthan Purayil via All-commits all-commits at lists.llvm.org
Sun Jul 17 21:37:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d96361d714ee0b646147b2d29575cffb6648c46b
      https://github.com/llvm/llvm-project/commit/d96361d714ee0b646147b2d29575cffb6648c46b
  Author: Abinav Puthan Purayil <abinavpp at gmail.com>
  Date:   2022-07-18 (Mon, 18 Jul 2022)

  Changed paths:
    M llvm/docs/AMDGPUUsage.rst
    M llvm/include/llvm/Support/AMDHSAKernelDescriptor.h
    M llvm/lib/BinaryFormat/AMDGPUMetadataVerifier.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
    M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
    M llvm/test/CodeGen/AMDGPU/gfx11-user-sgpr-init16-bug.ll
    M llvm/test/CodeGen/AMDGPU/indirect-call-known-callees.ll
    M llvm/test/CodeGen/AMDGPU/stack-realign-kernel.ll
    M llvm/test/MC/AMDGPU/hsa-gfx10-v3.s
    M llvm/test/MC/AMDGPU/hsa-gfx11-v3.s
    M llvm/test/MC/AMDGPU/hsa-gfx90a-v3.s
    M llvm/test/MC/AMDGPU/hsa-gfx940-v3.s
    M llvm/test/MC/AMDGPU/hsa-metadata-kernel-args-v3.s
    M llvm/test/MC/AMDGPU/hsa-metadata-kernel-attrs-v3.s
    M llvm/test/MC/AMDGPU/hsa-metadata-kernel-code-props-v3.s
    M llvm/test/MC/AMDGPU/hsa-v3.s
    M llvm/test/MC/AMDGPU/hsa-v4.s
    M llvm/test/tools/llvm-readobj/ELF/note-amd-valid-v3.s
    M llvm/test/tools/llvm-readobj/ELF/note-amdgpu.test

  Log Message:
  -----------
  [AMDGPU] Add the uses_dynamic_stack field to the kernel descriptor and the kernel metadata map

This change introduces the dynamic stack boolean field to code-object-v3
and above under the code properties of the kernel descriptor and under
the kernel metadata map of NT_AMDGPU_METADATA. This field corresponds to
the is_dynamic_callstack field of amd_kernel_code_t.

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




More information about the All-commits mailing list