[all-commits] [llvm/llvm-project] 8dd817: [LangRef] Disallow accessing byval arguments from ...
Oliver Stannard via All-commits
all-commits at lists.llvm.org
Fri Sep 27 01:08:28 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8dd817b25ae8b666aef839d36ffe028c01d411b5
https://github.com/llvm/llvm-project/commit/8dd817b25ae8b666aef839d36ffe028c01d411b5
Author: Oliver Stannard <oliver.stannard at arm.com>
Date: 2024-09-27 (Fri, 27 Sep 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/test/CodeGen/ARM/struct_byval.ll
Log Message:
-----------
[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.
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