@@ -1234,8 +1234,7 @@ Currently, only the following parameter attributes are defined:
12341234 ``byval`` parameters). This is not a valid attribute for return
12351235 values.
12361236
1237- The byval type argument indicates the in-memory value type, and
1238- must be the same as the pointee type of the argument.
1237+ The byval type argument indicates the in-memory value type.
12391238
12401239 The byval attribute also supports specifying an alignment with the
12411240 align attribute. It indicates the alignment of the stack slot to
@@ -1283,8 +1282,7 @@ Currently, only the following parameter attributes are defined:
12831282 any parameter must have a ``"preallocated"`` operand bundle. A ``musttail``
12841283 function call cannot have a ``"preallocated"`` operand bundle.
12851284
1286- The preallocated attribute requires a type argument, which must be
1287- the same as the pointee type of the argument.
1285+ The preallocated attribute requires a type argument.
12881286
12891287 The preallocated attribute also supports specifying an alignment with the
12901288 align attribute. It indicates the alignment of the stack slot to
@@ -1318,8 +1316,7 @@ Currently, only the following parameter attributes are defined:
13181316 must be cleared off with :ref:`llvm.stackrestore
13191317 <int_stackrestore>`.
13201318
1321- The inalloca attribute requires a type argument, which must be the
1322- same as the pointee type of the argument.
1319+ The inalloca attribute requires a type argument.
13231320
13241321 See :doc:`InAlloca` for more information on how to use this
13251322 attribute.
@@ -1331,8 +1328,7 @@ Currently, only the following parameter attributes are defined:
13311328 loads and stores to the structure may be assumed by the callee not
13321329 to trap and to be properly aligned.
13331330
1334- The sret type argument specifies the in memory type, which must be
1335- the same as the pointee type of the argument.
1331+ The sret type argument specifies the in memory type.
13361332
13371333 A function that accepts an ``sret`` argument must return ``void``.
13381334 A return value may not be ``sret``.
@@ -13178,7 +13174,7 @@ This instruction requires several arguments:
1317813174 - All ABI-impacting function attributes, such as sret, byval, inreg,
1317913175 returned, and inalloca, must match.
1318013176 - The caller and callee prototypes must match. Pointer types of parameters
13181- or return types may differ in pointee type, but not in address space.
13177+ or return types do not differ in address space.
1318213178
1318313179 On the other hand, if the calling convention is `swifttailcc` or `tailcc`:
1318413180
0 commit comments