diff options
author | Aiden Grossman <agrossman154@yahoo.com> | 2023-12-03 12:51:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-03 12:51:04 -0800 |
commit | e315bf25a843582de39257e1345408a10dc08224 (patch) | |
tree | abb74b731097847e9d768e13310743c00b6eb530 /llvm/docs/LangRef.rst | |
parent | 74ff52345d1203995febf6f090a0ff9e91c92b4a (diff) | |
download | llvm-e315bf25a843582de39257e1345408a10dc08224.zip llvm-e315bf25a843582de39257e1345408a10dc08224.tar.gz llvm-e315bf25a843582de39257e1345408a10dc08224.tar.bz2 |
[AArch64] Update LangRef to reference GHC calling convention (#72760)
AArch64 has supported the GHC calling convention for quite a few years
at this point (https://reviews.llvm.org/D6877), but the LangRef never
got updated noting that this was implemented on AArch64.
Diffstat (limited to 'llvm/docs/LangRef.rst')
-rw-r--r-- | llvm/docs/LangRef.rst | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index e448c5e..af064d7 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -317,13 +317,16 @@ added in the future: not be used lightly but only for specific situations such as an alternative to the *register pinning* performance technique often used when implementing functional programming languages. At the - moment only X86 supports this convention and it has the following - limitations: + moment only X86 and AArch64 support this convention. The following + limitations exist: - - On *X86-32* only supports up to 4 bit type parameters. No + - On *X86-32* only up to 4 bit type parameters are supported. No floating-point types are supported. - - On *X86-64* only supports up to 10 bit type parameters and 6 - floating-point parameters. + - On *X86-64* only up to 10 bit type parameters and 6 + floating-point parameters are supported. + - On *AArch64* only up to 4 32-bit floating-point parameters, + 4 64-bit floating-point parameters, and 10 bit type parameters + are supported. This calling convention supports `tail call optimization <CodeGenerator.html#tail-call-optimization>`_ but requires |