[PATCH] D103655: [AMDGPU] Handle constant LDS uses from different kernels

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 3 16:07:38 PDT 2021


rampitec created this revision.
rampitec added reviewers: hsmhsm, arsenm, JonChesterfield.
Herald added subscribers: foad, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
rampitec requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

This allows to lower an LDS variable into a kernel structure
even if there is a constant expression used from different
kernels.


https://reviews.llvm.org/D103655

Files:
  llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
  llvm/lib/Target/AMDGPU/Utils/AMDGPULDSUtils.cpp
  llvm/lib/Target/AMDGPU/Utils/AMDGPULDSUtils.h
  llvm/test/CodeGen/AMDGPU/lower-kernel-lds-constexpr.ll
  llvm/test/CodeGen/AMDGPU/lower-module-lds-constantexpr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103655.349721.patch
Type: text/x-patch
Size: 12766 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210603/81fc11ac/attachment-0001.bin>


More information about the llvm-commits mailing list