Skip to content

Commit 9fc4654

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 20c653c commit 9fc4654

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
@@ -12836,7 +12836,7 @@ This instruction requires several arguments:
1283612836
- The caller and callee prototypes must match. Pointer types of parameters
1283712837
or return types may differ in pointee type, but not in address space.
1283812838

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

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

0 commit comments

Comments
 (0)