[PATCH] D128344: [AMDGPU] Add the "is_dynamic_callstack" of amd_kernel_code_t to the kernel descriptor

Abinav Puthan Purayil via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 22 08:07:14 PDT 2022


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

This change introduces the dynamic callstack boolean field to
code-object-v3 and above under the code properties of the kernel
descriptor. To maintain backwards compatibility, the code properties
field had to be expanded to 32 bits since the bit position 20
corresponds to the dynamic callstack field in amd_kernel_code_t.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128344

Files:
  llvm/docs/AMDGPUUsage.rst
  llvm/include/llvm/Support/AMDHSAKernelDescriptor.h
  llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
  llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
  llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  llvm/test/CodeGen/AMDGPU/indirect-call-known-callees.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-v3.s
  llvm/test/MC/AMDGPU/hsa-v4.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128344.439026.patch
Type: text/x-patch
Size: 20025 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220622/2252e9cc/attachment.bin>


More information about the llvm-commits mailing list