[llvm] [AArch64] support `byval` arguments in tail calls (PR #206718)
Folkert de Vries via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 2 01:35:42 PDT 2026
folkertdev wrote:
It's really `tailcc` that needs `byval`: for normal tail calls the signature of the caller and callee is the same, and you can store the argument for the callee in the argument that was passed to the caller.
For tailcc the signatures can be different, and so to pass e.g. a large struct that was created in the caller's stack frame, there is no other option than to use `byval`.
https://github.com/llvm/llvm-project/pull/206718
More information about the llvm-commits
mailing list