[PATCH] D103431: [AMDGPU] Fix missing lowering of LDS used in global scope.

Mahesha S via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 8 01:17:59 PDT 2021


hsmhsm updated this revision to Diff 350527.
hsmhsm added a comment.

If the user of LDS is neither global variable nor instruction, then it should be a constant.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103431/new/

https://reviews.llvm.org/D103431

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-global-uses.ll
  llvm/test/CodeGen/AMDGPU/lower-module-lds-global-uses.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103431.350527.patch
Type: text/x-patch
Size: 18266 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210608/9f00c098/attachment.bin>


More information about the llvm-commits mailing list