diff options
author | Philippe Valembois <lephilousophe@users.noreply.github.com> | 2022-03-10 15:05:29 -0800 |
---|---|---|
committer | Eli Friedman <efriedma@quicinc.com> | 2022-03-10 15:07:25 -0800 |
commit | 26cd258420c774254cc48330b1f4d23d353baf05 (patch) | |
tree | 4502dd06ad033a6121916ccaa136cf6ed5258e24 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | d54c4df31470044a66605ebb8a2f936e8dd552af (diff) | |
download | llvm-26cd258420c774254cc48330b1f4d23d353baf05.zip llvm-26cd258420c774254cc48330b1f4d23d353baf05.tar.gz llvm-26cd258420c774254cc48330b1f4d23d353baf05.tar.bz2 |
[AArch64] Use correct calling convention for each vararg
While checking is tail call optimization is possible, the calling
convention applied to fixed arguments is not the correct one.
This implies for DarwinPCS that all arguments of a vararg function will
go to the stack although fixed ones can go in registers.
This prevents non-virtual thunks to be tail optimized although they are
marked as musttail.
Differential Revision: https://reviews.llvm.org/D120622
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions