diff options
author | Michael Liao <michael.hliao@gmail.com> | 2020-10-08 18:46:00 -0400 |
---|---|---|
committer | Michael Liao <michael.hliao@gmail.com> | 2020-10-20 09:54:12 -0400 |
commit | 2a0e4d1c01c93bc326957c0ebf2a3203dfb145d9 (patch) | |
tree | b563415fb1909b301f4398878ce24411a87de66f /clang/lib/Basic/SourceLocation.cpp | |
parent | 6439fde6d403d3e01e265fb84b0beffe67f745c5 (diff) | |
download | llvm-2a0e4d1c01c93bc326957c0ebf2a3203dfb145d9.zip llvm-2a0e4d1c01c93bc326957c0ebf2a3203dfb145d9.tar.gz llvm-2a0e4d1c01c93bc326957c0ebf2a3203dfb145d9.tar.bz2 |
[amdgpu] Enhance AMDGPU AA.
- In general, a generic point may alias to pointers in all other address
spaces. However, for certain cases enforced by the programming model,
we may found a generic point won't alias to pointers to local objects.
* When a generic pointer is loaded from the constant address space, it
could only be a pointer to the GLOBAL or CONSTANT address space.
Thus, it won't alias to pointers to the PRIVATE or LOCAL address
space.
* When a generic pointer is passed as a kernel argument, it also could
only be a pointer to the GLOBAL or CONSTANT address space. Thus, it
also won't alias to pointers to the PRIVATE or LOCAL address space.
Differential Revision: https://reviews.llvm.org/D89525
Diffstat (limited to 'clang/lib/Basic/SourceLocation.cpp')
0 files changed, 0 insertions, 0 deletions