summaryrefslogtreecommitdiffstats
path: root/llvm/docs/LangRef.rst
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs/LangRef.rst')
-rw-r--r--llvm/docs/LangRef.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index a525c0c99ef..bc7cf9c8a08 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -427,6 +427,9 @@ added in the future:
- On X86-64 the callee preserves all general purpose registers, except for
RDI and RAX.
+"``swiftcc``" - This calling convention is used for Swift language.
+ - On X86-64 RCX and R8 are available for additional integer returns, and
+ XMM2 and XMM3 are available for additional FP/vector returns.
"``cc <n>``" - Numbered convention
Any calling convention may be specified by number, allowing
target-specific calling conventions to be used. Target specific
OpenPOWER on IntegriCloud