summaryrefslogtreecommitdiffstats
path: root/llvm/docs/LangRef.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-05 05:42:28 +0000
committerChris Lattner <sabre@nondot.org>2009-02-05 05:42:28 +0000
commit08aa90643e8c14cb603a54e80d8e19f93fe7ef0d (patch)
tree8431eeac6176020cbb1908facf252fa14164f1eb /llvm/docs/LangRef.html
parent9f694e4b3b7e11214d7954606b232a54b230bb6d (diff)
downloadbcm5719-llvm-08aa90643e8c14cb603a54e80d8e19f93fe7ef0d.tar.gz
bcm5719-llvm-08aa90643e8c14cb603a54e80d8e19f93fe7ef0d.zip
PR3485, document alignment on byref.
llvm-svn: 63836
Diffstat (limited to 'llvm/docs/LangRef.html')
-rw-r--r--llvm/docs/LangRef.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html
index 88970f971ec..afadd2169e8 100644
--- a/llvm/docs/LangRef.html
+++ b/llvm/docs/LangRef.html
@@ -922,7 +922,10 @@ declare signext i8 @returns_signed_char()
belong to the caller not the callee (for example,
<tt><a href="#readonly">readonly</a></tt> functions should not write to
<tt>byval</tt> parameters). This is not a valid attribute for return
- values. </dd>
+ values. The byval attribute also supports specifying an alignment with the
+ align attribute. This has a target-specific effect on the code generator
+ that usually indicates a desired alignment for the synthesized stack
+ slot.</dd>
<dt><tt>sret</tt></dt>
<dd>This indicates that the pointer parameter specifies the address of a
OpenPOWER on IntegriCloud