Skip to content

[RISCV] Add documentation in the LangRef on GHC CC #72762

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions llvm/docs/LangRef.rst
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ 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 and AArch64 support this convention. The following
limitations exist:
moment only X86, AArch64, and RISCV support this convention. The
following limitations exist:

- On *X86-32* only up to 4 bit type parameters are supported. No
floating-point types are supported.
Expand All @@ -327,6 +327,9 @@ added in the future:
- On *AArch64* only up to 4 32-bit floating-point parameters,
4 64-bit floating-point parameters, and 10 bit type parameters
are supported.
- *RISCV64* only supports up to 11 bit type parameters, 4
32-bit floating-point parameters, and 4 64-bit floating-point
parameters.

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