summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-08 22:17:53 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-08 22:17:53 +0000
commit87bde0b7d30c9b57f2a3e6d701e535fc539f34e0 (patch)
tree0e98346a9eb3faa4f46988f6613ab43fa46cc63e /docs
parentfbbf1eeccf0cf469f0d8962b1341c8ba22a9dadb (diff)
downloadllvm-87bde0b7d30c9b57f2a3e6d701e535fc539f34e0.tar.gz
llvm-87bde0b7d30c9b57f2a3e6d701e535fc539f34e0.tar.bz2
llvm-87bde0b7d30c9b57f2a3e6d701e535fc539f34e0.tar.xz
Document the stack alignment part of target data description.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 60217ecff4..c4255ba296 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -1177,6 +1177,9 @@ aspect of the data layout. The specifications accepted are as follows: </p>
<dt><tt>a<i>size</i>:<i>abi</i>:<i>pref</i></tt></dt>
<dd>This specifies the alignment for an aggregate type of a given bit
<i>size</i>.</dd>
+ <dt><tt>s<i>size</i>:<i>abi</i>:<i>pref</i></tt></dt>
+ <dd>This specifies the alignment for a stack object of a given bit
+ <i>size</i>.</dd>
</dl>
<p>When constructing the data layout for a given target, LLVM starts with a
default set of specifications which are then (possibly) overriden by the
@@ -1196,6 +1199,7 @@ are given in this list:</p>
<li><tt>v64:64:64</tt> - 64-bit vector is 64-bit aligned</li>
<li><tt>v128:128:128</tt> - 128-bit vector is 128-bit aligned</li>
<li><tt>a0:0:1</tt> - aggregates are 8-bit aligned</li>
+ <li><tt>s0:64:64</tt> - stack objects are 64-bit aligned</li>
</ul>
<p>When LLVM is determining the alignment for a given type, it uses the
following rules:</p>