[PATCH] D119480: [AMDGPU] Improve clobbering checks in the kernel argument promotion
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 10 13:46:45 PST 2022
rampitec created this revision.
rampitec added a reviewer: vpykhtin.
Herald added subscribers: foad, kerbowa, asbirlea, george.burgess.iv, hiraditya, t-tye, tpr, dstuttard, yaxunl, mgorny, nhaehnle, jvesely, kzhuravl, arsenm.
rampitec requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
Use same MSSA clobbering checks as in the AMDGPUAnnotateUniformValues.
Kernel argument promotion needs exactly the same information so factor
out utility function isClobberedInFunction.
https://reviews.llvm.org/D119480
Files:
llvm/lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
llvm/lib/Target/AMDGPU/AMDGPUPromoteKernelArguments.cpp
llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp
llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.h
llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
llvm/test/CodeGen/AMDGPU/promote-kernel-arguments.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119480.407667.patch
Type: text/x-patch
Size: 14328 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220210/67a930ea/attachment-0001.bin>
More information about the llvm-commits
mailing list