diff options
author | Krzysztof Drewniak <Krzysztof.Drewniak@amd.com> | 2023-10-24 11:16:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-24 11:16:54 -0500 |
commit | 93f8e52d1fab72aa8a3018d560465ce993f127d0 (patch) | |
tree | c93faa12c32e596eb23a63dce55ff43cd0dfb547 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | ebf4c698c35662087bc52f54c6ea51e2e263b101 (diff) | |
download | llvm-93f8e52d1fab72aa8a3018d560465ce993f127d0.zip llvm-93f8e52d1fab72aa8a3018d560465ce993f127d0.tar.gz llvm-93f8e52d1fab72aa8a3018d560465ce993f127d0.tar.bz2 |
[FunctionAttrs] Improve handling of alias-preserving intrinsic calls (#68453)
Fixes #68270
The function attribute analysis handles many instructions, like
addrspacecast, which do not themselves read or write memory but which
transform pointers into other values in the same alias set.
There are intrinsic functions, such as ptrmask or the AMDGPU-specific
make.buffer.rsrc, which also preserve membership in alias sets without
capturing. This commit adds the addrspacecast-like behavior to these
calls.
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions