[PATCH] D134714: [AMDGPU] Make the uses_dynamic_stack field in the kernel descriptor and the metadata map specific to code object v5 and later

Abinav Puthan Purayil via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 27 01:02:41 PDT 2022


abinavpp created this revision.
abinavpp added reviewers: arsenm, b-sumner, kzhuravl.
Herald added subscribers: kosarev, foad, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, emaste.
Herald added a reviewer: jhenderson.
Herald added a project: All.
abinavpp requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay, wdng.
Herald added a project: LLVM.

Unfortunately, we have a broken handling of this in the runtime of rocm
5.3. The runtime is expected to handle this correctly when v5 becomes
the default.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134714

Files:
  llvm/docs/AMDGPUUsage.rst
  llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
  llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
  llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  llvm/test/CodeGen/AMDGPU/gfx11-user-sgpr-init16-bug.ll
  llvm/test/CodeGen/AMDGPU/recursion.ll
  llvm/test/CodeGen/AMDGPU/resource-usage-dead-function.ll
  llvm/test/CodeGen/AMDGPU/stack-realign-kernel.ll
  llvm/test/MC/AMDGPU/hsa-gfx10-v3.s
  llvm/test/MC/AMDGPU/hsa-gfx11-v3.s
  llvm/test/MC/AMDGPU/hsa-gfx90a-v3.s
  llvm/test/MC/AMDGPU/hsa-gfx940-v3.s
  llvm/test/MC/AMDGPU/hsa-metadata-kernel-args-v3.s
  llvm/test/MC/AMDGPU/hsa-metadata-kernel-attrs-v3.s
  llvm/test/MC/AMDGPU/hsa-metadata-kernel-code-props-v3.s
  llvm/test/MC/AMDGPU/hsa-v3.s
  llvm/test/MC/AMDGPU/hsa-v4.s
  llvm/test/MC/AMDGPU/hsa-v5-uses-dynamic-stack.s
  llvm/test/tools/llvm-readobj/ELF/note-amd-valid-v3.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134714.463135.patch
Type: text/x-patch
Size: 27779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220927/4f10bdca/attachment.bin>


More information about the llvm-commits mailing list