[llvm] [LangRef] Fix mislabeling in calling convention name (NFC) (PR #111256)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 01:57:56 PST 2024


https://github.com/antoniofrighetto updated https://github.com/llvm/llvm-project/pull/111256

>From 11b9bd4e35475cbe7478b9e88b5bf39bbc1b5363 Mon Sep 17 00:00:00 2001
From: Antonio Frighetto <me at antoniofrighetto.com>
Date: Mon, 18 Nov 2024 10:57:05 +0100
Subject: [PATCH] [LangRef] Fix mislabeling in calling convention name (NFC)

We have explained how musttail can be guaranteed when the calling
convention is not `swifttailcc` or `tailcc`, ensure what needs to
adhere when it is the opposite case.
---
 llvm/docs/LangRef.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 99f3ec20e1dad3..9f4c90ba82a419 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -12836,7 +12836,7 @@ This instruction requires several arguments:
    - The caller and callee prototypes must match. Pointer types of parameters
      or return types may differ in pointee type, but not in address space.
 
-  On the other hand, if the calling convention is `swifttailcc` or `swiftcc`:
+  On the other hand, if the calling convention is `swifttailcc` or `tailcc`:
 
    - Only these ABI-impacting attributes attributes are allowed: sret, byval,
      swiftself, and swiftasync.



More information about the llvm-commits mailing list