diff options
author | Alex MacLean <amaclean@nvidia.com> | 2025-01-13 12:10:26 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-13 12:10:26 -0800 |
commit | c6c864da3fdfbe98f6302f209056fe3069d071ae (patch) | |
tree | 1af0f80b18cf5355f117c9ddd63160c4935771be /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 22a280d3924abf2cd2587dcff247bba884303c57 (diff) | |
download | llvm-c6c864da3fdfbe98f6302f209056fe3069d071ae.zip llvm-c6c864da3fdfbe98f6302f209056fe3069d071ae.tar.gz llvm-c6c864da3fdfbe98f6302f209056fe3069d071ae.tar.bz2 |
[FunctionAttrs] Treat byval calls as only reading ptrs (#122618)
Since byval arguments are passed via a hidden copy of the pointee, they
do not have the same semantics as normal pointer arguments. The callee
cannot capture or write to the pointer and the copy is a read of the
pointer.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions