Skip to content

Commit 4d6d9ab

Browse files
committed
Adopt Nikita's langref rewording suggestion
1 parent ad7585c commit 4d6d9ab

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

llvm/docs/LangRef.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15479,13 +15479,11 @@ Semantics:
1547915479
""""""""""
1548015480

1548115481
The '``llvm.experimental.memset.pattern*``' intrinsic fills memory starting at
15482-
the destination location with the given pattern ``<count>`` times. If the
15483-
argument is known to be aligned to some boundary, this can be specified as an
15484-
attribute on the argument. The pattern fills will respect the endianness of
15485-
the target: i.e. on little endian targets, the least significant byte of the
15486-
pattern is first in memory, while the most significant byte is first in memory
15487-
for big endian targets. The memory address is incremented by the allocation
15488-
size of the type.
15482+
the destination location with the given pattern ``<count>`` times,
15483+
incrementing by the allocation size of the type each time. The stores follows
15484+
the usual semantics of store instructions, including regarding endianness and
15485+
padding. If the argument is known to be aligned to some boundary, this can be
15486+
specified as an attribute on the argument.
1548915487

1549015488
If ``<count>`` is 0, it is no-op modulo the behavior of attributes attached to
1549115489
the arguments.

0 commit comments

Comments
 (0)