Unverified Commit 93f8e52d authored by Krzysztof Drewniak's avatar Krzysztof Drewniak Committed by GitHub
Browse files

[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.
parent ebf4c698
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment