[PATCH] D79647: AMDGPU: Skip GetUnderlyingObject check in pointsToConstantMemory

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 13:58:17 PDT 2020


rampitec accepted this revision.
rampitec added a comment.
This revision is now accepted and ready to land.

On the second thought, this is not an access qualifier but address space cast, and the only valid situation should be to cast from generic if memory is really constant... So presumably caller may specialize a generic pointer and call a special version of a function taking a pointer to constant. LGTM.


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

https://reviews.llvm.org/D79647





More information about the llvm-commits mailing list