[llvm] [FunctionAttrs] Treat byval calls as only reading ptrs (PR #122618)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 13 06:55:48 PST 2025


================
@@ -16,14 +16,10 @@ declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias
 define i1 @alloca_forwarding_lifetime_end_clobber() {
----------------
nikic wrote:

Should update the comment above here, because we now do the optimization by dropping the lifetime intrinsics.

https://github.com/llvm/llvm-project/pull/122618


More information about the llvm-commits mailing list