[PATCH] D108363: [AMDGPU] Propagate !noalias and !alias.scope metadata in AMDGPULowerKernelArguments for noalias arguments.
Jeroen Dobbelaere via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 19 04:29:32 PDT 2021
jeroen.dobbelaere added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/lower-kernargs.ll:1280
;
store volatile i8 addrspace(1)* %ptr0, i8 addrspace(1)* addrspace(1)* undef
store volatile i8 addrspace(1)* %ptr1, i8 addrspace(1)* addrspace(1)* undef
----------------
What is the purpose of this test ? The kernel input pointers are 'stored to `undef`', as such those stores see the available noalias scopes, but do not take part in it. Shouldn't the test store something to the pointers instead ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108363/new/
https://reviews.llvm.org/D108363
More information about the llvm-commits
mailing list