[PATCH] D119886: [AMDGPU] Promote recursive loads from kernel argument to constant

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 15 12:51:58 PST 2022


rampitec created this revision.
rampitec added reviewers: hliao, vpykhtin.
Herald added subscribers: foad, 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.

Not clobbered pointer load chains are promoted to global now. That
is possible to promote these loads itself into constant address
space. Loaded pointers still need to point to global because we
need to be able to store into that pointer and because an actual
load from it may occur after a clobber.


https://reviews.llvm.org/D119886

Files:
  llvm/lib/Target/AMDGPU/AMDGPUPromoteKernelArguments.cpp
  llvm/test/CodeGen/AMDGPU/promote-kernel-arguments.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119886.409020.patch
Type: text/x-patch
Size: 23424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220215/c97440e8/attachment-0001.bin>


More information about the llvm-commits mailing list