[llvm-commits] [llvm] r63836 - /llvm/trunk/docs/LangRef.html

Chris Lattner sabre at nondot.org
Wed Feb 4 21:42:30 PST 2009


Author: lattner
Date: Wed Feb  4 23:42:28 2009
New Revision: 63836

URL: http://llvm.org/viewvc/llvm-project?rev=63836&view=rev
Log:
PR3485, document alignment on byref.

Modified:
    llvm/trunk/docs/LangRef.html

Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=63836&r1=63835&r2=63836&view=diff

==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Wed Feb  4 23:42:28 2009
@@ -922,7 +922,10 @@
     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





More information about the llvm-commits mailing list