[llvm] r193012 - Clarify that an alignment of 0 or 1 on a mem* intrinsic means 'no alignment'.
Bill Wendling
isanbard at gmail.com
Fri Oct 18 16:26:55 PDT 2013
Author: void
Date: Fri Oct 18 18:26:55 2013
New Revision: 193012
URL: http://llvm.org/viewvc/llvm-project?rev=193012&view=rev
Log:
Clarify that an alignment of 0 or 1 on a mem* intrinsic means 'no alignment'.
Modified:
llvm/trunk/docs/LangRef.rst
Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=193012&r1=193011&r2=193012&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Fri Oct 18 18:26:55 2013
@@ -6874,7 +6874,7 @@ The '``llvm.memcpy.*``' intrinsics copy
source location to the destination location, which are not allowed to
overlap. It copies "len" bytes of memory over. If the argument is known
to be aligned to some boundary, this can be specified as the fourth
-argument, otherwise it should be set to 0 or 1.
+argument, otherwise it should be set to 0 or 1 (both meaning no alignment).
'``llvm.memmove``' Intrinsic
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -6929,7 +6929,7 @@ The '``llvm.memmove.*``' intrinsics copy
source location to the destination location, which may overlap. It
copies "len" bytes of memory over. If the argument is known to be
aligned to some boundary, this can be specified as the fourth argument,
-otherwise it should be set to 0 or 1.
+otherwise it should be set to 0 or 1 (both meaning no alignment).
'``llvm.memset.*``' Intrinsics
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -6980,7 +6980,7 @@ Semantics:
The '``llvm.memset.*``' intrinsics fill "len" bytes of memory starting
at the destination location. If the argument is known to be aligned to
some boundary, this can be specified as the fourth argument, otherwise
-it should be set to 0 or 1.
+it should be set to 0 or 1 (both meaning no alignment).
'``llvm.sqrt.*``' Intrinsic
^^^^^^^^^^^^^^^^^^^^^^^^^^^
More information about the llvm-commits
mailing list