[PATCH] D108315: [AMDGPU] Add alias.scope metadata to lowered LDS struct

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 18 11:56:26 PDT 2021


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

Alias analysis is unable to disambiguate accesses to the structure
fields without it unlike distinct variables. As a result we cannot
combine ds_read and ds_write operations in a case of any store in
between which always considered clobbering.


https://reviews.llvm.org/D108315

Files:
  llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
  llvm/test/CodeGen/AMDGPU/lower-lds-struct-aa.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108315.367288.patch
Type: text/x-patch
Size: 8446 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210818/e197278e/attachment-0001.bin>


More information about the llvm-commits mailing list