mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Minor grammar and word usage fix to 'returned' parameter attribute section of LangRef
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184479 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b0bdcb5f8a
commit
8592fba155
@ -733,14 +733,13 @@ Currently, only the following parameter attributes are defined:
|
|||||||
attribute for return values and can only be applied to one parameter.
|
attribute for return values and can only be applied to one parameter.
|
||||||
|
|
||||||
``returned``
|
``returned``
|
||||||
This indicates that the value of the function always returns the value
|
This indicates that the function always returns the argument as its return
|
||||||
of the parameter as its return value. This is an optimization hint to
|
value. This is an optimization hint to the code generator when generating
|
||||||
the code generator when generating the caller, allowing tail call
|
the caller, allowing tail call optimization and omission of register saves
|
||||||
optimization and omission of register saves and restores in some cases;
|
and restores in some cases; it is not checked or enforced when generating
|
||||||
it is not checked or enforced when generating the callee. The parameter
|
the callee. The parameter and the function return type must be valid
|
||||||
and the function return type must be valid operands for the
|
operands for the :ref:`bitcast instruction <i_bitcast>`. This is not a
|
||||||
:ref:`bitcast instruction <i_bitcast>`. This is not a valid attribute for
|
valid attribute for return values and can only be applied to one parameter.
|
||||||
return values and can only be applied to one parameter.
|
|
||||||
|
|
||||||
.. _gc:
|
.. _gc:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user