Skip to content

Commit

Permalink
[LangRef] Fix mislabeling in calling convention name (NFC)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
antoniofrighetto committed Nov 18, 2024
1 parent 20c653c commit 9fc4654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/docs/LangRef.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9fc4654

Please sign in to comment.