[PATCH] D22205: Update the LangRef description of the 'returned' attribute
Hal Finkel via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 10 14:59:59 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL275026: Update the LangRef description of the 'returned' attribute (authored by hfinkel).
Changed prior to commit:
http://reviews.llvm.org/D22205?vs=63437&id=63439#toc
Repository:
rL LLVM
http://reviews.llvm.org/D22205
Files:
llvm/trunk/docs/LangRef.rst
Index: llvm/trunk/docs/LangRef.rst
===================================================================
--- llvm/trunk/docs/LangRef.rst
+++ llvm/trunk/docs/LangRef.rst
@@ -1060,12 +1060,13 @@
``returned``
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.
+ value. This is a hint to the optimizer and code generator used when
+ generating the caller, allowing value propagation, 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.
``nonnull``
This indicates that the parameter or return pointer is not null. This
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22205.63439.patch
Type: text/x-patch
Size: 1345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160710/c5da79e2/attachment.bin>
More information about the llvm-commits
mailing list