[PATCH] D90036: [AMDGPU] Emit stack frame size in metadata
Sebastian Neubauer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 26 09:28:09 PDT 2020
Flakebi updated this revision to Diff 300697.
Flakebi added a comment.
Fix code and add more tests.
The goal of storing the stack size of functions is that the driver can compute the scratch size that needs to be allocated.
A user tells the driver which shaders/functions can be called and the maximum recursion depth. With these information, the driver can compute the maximum amount of scratch memory that can be needed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90036/new/
https://reviews.llvm.org/D90036
Files:
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
llvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
llvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.h
llvm/test/CodeGen/AMDGPU/amdpal-callable.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90036.300697.patch
Type: text/x-patch
Size: 9941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201026/f5db42ae/attachment.bin>
More information about the llvm-commits
mailing list