[all-commits] [llvm/llvm-project] 7435ad: [LangRef] Clarifying the copying behaviour of byva...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Sat Jun 27 06:30:58 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7435ad31b5f4feba1a3d0f8928a5225e546f6ee2
      https://github.com/llvm/llvm-project/commit/7435ad31b5f4feba1a3d0f8928a5225e546f6ee2
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2026-06-27 (Sat, 27 Jun 2026)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  [LangRef] Clarifying the copying behaviour of byval (#205576)

The hidden copy of a byval argument can only be treated as a continuous
memcpy with the allocation size. It is incorrect to interpret it as a
load-store forwarding in the specified type, since a padding between
struct fields may still be a part of an active member of a union type.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list