Skip to content

Commit e315bf2

Browse files
[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.
1 parent 74ff523 commit e315bf2

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

llvm/docs/LangRef.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -317,13 +317,16 @@ added in the future:
317317
not be used lightly but only for specific situations such as an
318318
alternative to the *register pinning* performance technique often
319319
used when implementing functional programming languages. At the
320-
moment only X86 supports this convention and it has the following
321-
limitations:
320+
moment only X86 and AArch64 support this convention. The following
321+
limitations exist:
322322

323-
- On *X86-32* only supports up to 4 bit type parameters. No
323+
- On *X86-32* only up to 4 bit type parameters are supported. No
324324
floating-point types are supported.
325-
- On *X86-64* only supports up to 10 bit type parameters and 6
326-
floating-point parameters.
325+
- On *X86-64* only up to 10 bit type parameters and 6
326+
floating-point parameters are supported.
327+
- On *AArch64* only up to 4 32-bit floating-point parameters,
328+
4 64-bit floating-point parameters, and 10 bit type parameters
329+
are supported.
327330

328331
This calling convention supports `tail call
329332
optimization <CodeGenerator.html#tail-call-optimization>`_ but requires

0 commit comments

Comments
 (0)