PR3485, document alignment on byref.
authorChris Lattner <sabre@nondot.org>
Thu, 5 Feb 2009 05:42:28 +0000 (05:42 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 5 Feb 2009 05:42:28 +0000 (05:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63836 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.html

index 88970f971ecad8cb4e3c9cc23e262003e1555c22..afadd2169e82b3b3032b7f05bbeaffa586cb949d 100644 (file)
@@ -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