Skip to content

Commit b7be265

Browse files
!fixup fix wording
1 parent 0488958 commit b7be265

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/docs/LangRef.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,8 +1748,8 @@ Currently, only the following parameter attributes are defined:
17481748
It is similar to ``byval`` in the regard that it is generally used to pass
17491749
structs and arrays by value, and the memory is caller-invisible when the
17501750
function returns. However, unlike ``byval``, it is intended for ABIs where the
1751-
*callee* allocates the hidden copy, rather than the caller. Stores that would
1752-
only be visible on the normal return path may be optimized out. Likewise,
1751+
*callee* explicitly allocates the temporary copy. Stores that would only be
1752+
visible on the normal return path may be optimized out. Likewise,
17531753
optimizations may assume that the pointer does not alias any memory that
17541754
outlives the call.
17551755

0 commit comments

Comments
 (0)