Files
clang-p2996/llvm/test/CodeGen/ARM/struct_byval.ll
Oliver Stannard 8dd817b25a [LangRef] Disallow accessing byval arguments from tail-called functions (#110093)
We already disallow accessing the callee's allocas from a tail-called
function, because their stack memory will have been de-allocated before
the tail call. I think this should apply to byval arguments too, as they
also occupy space in the caller's stack frame.

This was originally part of #109943, spilt out for separate review.
2024-09-27 09:08:05 +01:00

2.6 KiB