A load via pointer cast to constant will return true from
pointsToConstantMemory which is not necessarily so.
Fixes: SWDEV-326463
Paths
| Differential D121172
[AMDGPU] Set noclobber metadata on loads instead of cast to constant ClosedPublic Authored by rampitec on Mar 7 2022, 3:56 PM.
Details Summary A load via pointer cast to constant will return true from Fixes: SWDEV-326463
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 7 2022, 5:03 PM This revision was landed with ongoing or failed builds.Mar 7 2022, 11:13 PM Closed by commit rG9eabea396814: [AMDGPU] Set noclobber metadata on loads instead of cast to constant (authored by rampitec). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 413710 clang/test/CodeGenCUDA/amdgpu-kernel-arg-pointer-type.cu
llvm/lib/Target/AMDGPU/AMDGPUPromoteKernelArguments.cpp
llvm/test/CodeGen/AMDGPU/promote-kernel-arguments.ll
|