aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorAlex MacLean <amaclean@nvidia.com>2025-01-13 12:10:26 -0800
committerGitHub <noreply@github.com>2025-01-13 12:10:26 -0800
commitc6c864da3fdfbe98f6302f209056fe3069d071ae (patch)
tree1af0f80b18cf5355f117c9ddd63160c4935771be /llvm/lib/CodeGen/MachineFunction.cpp
parent22a280d3924abf2cd2587dcff247bba884303c57 (diff)
downloadllvm-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