Skip to content

Commit a5323a5

Browse files
[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.
1 parent 22089dc commit a5323a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/docs/LangRef.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12747,7 +12747,7 @@ This instruction requires several arguments:
1274712747
- The caller and callee prototypes must match. Pointer types of parameters
1274812748
or return types may differ in pointee type, but not in address space.
1274912749

12750-
On the other hand, if the calling convention is `swifttailcc` or `swiftcc`:
12750+
On the other hand, if the calling convention is `swifttailcc` or `tailcc`:
1275112751

1275212752
- Only these ABI-impacting attributes attributes are allowed: sret, byval,
1275312753
swiftself, and swiftasync.

0 commit comments

Comments
 (0)