diff options
author | Duncan Sands <baldrick@free.fr> | 2009-06-20 13:26:06 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-06-20 13:26:06 +0000 |
commit | 434ca80b31c6bd44545713d7cf20e53fe4861b4e (patch) | |
tree | 128f94910a5400eb28633d2c9d04fd08514793d4 | |
parent | 7f8217f64bc6efabc680f4ffff77e199f6c53103 (diff) |
Clarify that if the alignment is zero then an alignment
compatible with the type will be used (at least the ABI
alignment).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73827 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | docs/LangRef.html | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index de31e35674..c57518befc 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -3532,9 +3532,10 @@ address space (address space zero).</p> bytes of memory from the operating system and returns a pointer of the appropriate type to the program. If "NumElements" is specified, it is the number of elements allocated, otherwise "NumElements" is defaulted to be one. -If a constant alignment is specified, the value result of the allocation is guaranteed to -be aligned to at least that boundary. If not specified, or if zero, the target can -choose to align the allocation on any convenient boundary.</p> +If a constant alignment is specified, the value result of the allocation is +guaranteed to be aligned to at least that boundary. If not specified, or if +zero, the target can choose to align the allocation on any convenient boundary +compatible with the type.</p> <p>'<tt>type</tt>' must be a sized type.</p> @@ -3625,9 +3626,10 @@ space (address space zero).</p> bytes of memory on the runtime stack, returning a pointer of the appropriate type to the program. If "NumElements" is specified, it is the number of elements allocated, otherwise "NumElements" is defaulted to be one. -If a constant alignment is specified, the value result of the allocation is guaranteed -to be aligned to at least that boundary. If not specified, or if zero, the target -can choose to align the allocation on any convenient boundary.</p> +If a constant alignment is specified, the value result of the allocation is +guaranteed to be aligned to at least that boundary. If not specified, or if +zero, the target can choose to align the allocation on any convenient boundary +compatible with the type.</p> <p>'<tt>type</tt>' may be any sized type.</p> |