[llvm] r184479 - Minor grammar and word usage fix to 'returned' parameter attribute section of LangRef
Stephen Lin
stephenwlin at gmail.com
Thu Jun 20 14:55:10 PDT 2013
Author: stephenwlin
Date: Thu Jun 20 16:55:10 2013
New Revision: 184479
URL: http://llvm.org/viewvc/llvm-project?rev=184479&view=rev
Log:
Minor grammar and word usage fix to 'returned' parameter attribute section of LangRef
Modified:
llvm/trunk/docs/LangRef.rst
Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=184479&r1=184478&r2=184479&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Thu Jun 20 16:55:10 2013
@@ -733,14 +733,13 @@ Currently, only the following parameter
attribute for return values and can only be applied to one parameter.
``returned``
- This indicates that the value of the function always returns the value
- of the parameter as its return value. This is an optimization hint to
- the code generator when generating the caller, allowing tail call
- optimization and omission of register saves and restores in some cases;
- it is not checked or enforced when generating the callee. The parameter
- and the function return type must be valid operands for the
- :ref:`bitcast instruction <i_bitcast>`. This is not a valid attribute for
- return values and can only be applied to one parameter.
+ This indicates that the function always returns the argument as its return
+ value. This is an optimization hint to the code generator when generating
+ the caller, allowing tail call optimization and omission of register saves
+ and restores in some cases; it is not checked or enforced when generating
+ the callee. The parameter and the function return type must be valid
+ operands for the :ref:`bitcast instruction <i_bitcast>`. This is not a
+ valid attribute for return values and can only be applied to one parameter.
.. _gc:
More information about the llvm-commits
mailing list