[PATCH] D153280: [AMDGPU] Forbid dynamic alloca on PAL ABI

Sebastian Neubauer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 19 07:51:59 PDT 2023


sebastian-ne created this revision.
sebastian-ne added reviewers: arsenm, foad.
Herald added subscribers: StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
sebastian-ne requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

The PAL ABI does not support dynamically allocated stack objects, so
error out if a compiler frontend created them.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153280

Files:
  llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.cpp
  llvm/test/CodeGen/AMDGPU/amdpal-callable.ll
  llvm/test/CodeGen/AMDGPU/amdpal-no-dyn-alloca.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153280.532655.patch
Type: text/x-patch
Size: 5443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230619/82a99034/attachment.bin>


More information about the llvm-commits mailing list