Skip to content

Commit c8d70e9

Browse files
authored
[LangRef] Fix spelling mistakes (#86013)
1 parent bc54702 commit c8d70e9

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

llvm/docs/LangRef.rst

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2571,7 +2571,7 @@ are grouped into a single :ref:`attribute group <attrgrp>`.
25712571
``sanitize_memtag``
25722572
This attribute indicates that the global variable should have AArch64 memory
25732573
tags (MTE) instrumentation applied to it. This attribute causes the
2574-
suppression of certain optimisations, like GlobalMerge, as well as ensuring
2574+
suppression of certain optimizations, like GlobalMerge, as well as ensuring
25752575
extra directives are emitted in the assembly and extra bits of metadata are
25762576
placed in the object file so that the linker can ensure the accesses are
25772577
protected by MTE. This attribute is added by clang when
@@ -3638,7 +3638,7 @@ floating-point transformations.
36383638

36393639
``contract``
36403640
Allow floating-point contraction (e.g. fusing a multiply followed by an
3641-
addition into a fused multiply-and-add). This does not enable reassociating
3641+
addition into a fused multiply-and-add). This does not enable reassociation
36423642
to form arbitrary contractions. For example, ``(a*b) + (c*d) + e`` can not
36433643
be transformed into ``(a*b) + ((c*d) + e)`` to create two fma operations.
36443644

@@ -7365,7 +7365,7 @@ matches the ``llvm.loop.parallel_accesses`` list.
73657365
If all memory-accessing instructions in a loop have
73667366
``llvm.access.group`` metadata that each refer to one of the access
73677367
groups of a loop's ``llvm.loop.parallel_accesses`` metadata, then the
7368-
loop has no loop carried memory dependences and is considered to be a
7368+
loop has no loop carried memory dependencies and is considered to be a
73697369
parallel loop.
73707370

73717371
Note that if not all memory access instructions belong to an access
@@ -13577,12 +13577,12 @@ Overview:
1357713577
"""""""""
1357813578

1357913579
The '``llvm.seh.try.begin``' and '``llvm.seh.try.end``' intrinsics mark
13580-
the boundary of a _try region for Windows SEH Asynchrous Exception Handling.
13580+
the boundary of a _try region for Windows SEH Asynchronous Exception Handling.
1358113581

1358213582
Semantics:
1358313583
""""""""""
1358413584

13585-
When a C-function is compiled with Windows SEH Asynchrous Exception option,
13585+
When a C-function is compiled with Windows SEH Asynchronous Exception option,
1358613586
-feh_asynch (aka MSVC -EHa), these two intrinsics are injected to mark _try
1358713587
boundary and to prevent potential exceptions from being moved across boundary.
1358813588
Any set of operations can then be confined to the region by reading their leaf
@@ -13603,7 +13603,7 @@ Overview:
1360313603
"""""""""
1360413604

1360513605
The '``llvm.seh.scope.begin``' and '``llvm.seh.scope.end``' intrinsics mark
13606-
the boundary of a CPP object lifetime for Windows SEH Asynchrous Exception
13606+
the boundary of a CPP object lifetime for Windows SEH Asynchronous Exception
1360713607
Handling (MSVC option -EHa).
1360813608

1360913609
Semantics:
@@ -17713,7 +17713,7 @@ Examples
1771317713
%res = call i4 @llvm.udiv.fix.sat.i4(i4 8, i4 2, i32 2) ; %res = 15 (2 / 0.5 = 4 => 3.75)
1771417714

1771517715

17716-
Specialised Arithmetic Intrinsics
17716+
Specialized Arithmetic Intrinsics
1771717717
---------------------------------
1771817718

1771917719
.. _i_intr_llvm_canonicalize:
@@ -18037,9 +18037,9 @@ The '``llvm.loop.decrement.reg.*``' intrinsics do an integer ``SUB`` of its
1803718037
two operands, which is not allowed to wrap. They return the remaining number of
1803818038
iterations still to be executed, and can be used together with a ``PHI``,
1803918039
``ICMP`` and ``BR`` to control the number of loop iterations executed. Any
18040-
optimisations are allowed to treat it is a ``SUB``, and it is supported by
18040+
optimizations are allowed to treat it is a ``SUB``, and it is supported by
1804118041
SCEV, so it's the backends responsibility to handle cases where it may be
18042-
optimised. These intrinsics are marked as ``IntrNoDuplicate`` to avoid
18042+
optimized. These intrinsics are marked as ``IntrNoDuplicate`` to avoid
1804318043
optimizers duplicating these instructions.
1804418044

1804518045

@@ -18741,7 +18741,7 @@ Arguments:
1874118741
The first argument is the vector to be counted. This argument must be a vector
1874218742
with integer element type. The return type must also be an integer type which is
1874318743
wide enough to hold the maximum number of elements of the source vector. The
18744-
behaviour of this intrinsic is undefined if the return type is not wide enough
18744+
behavior of this intrinsic is undefined if the return type is not wide enough
1874518745
for the number of elements in the input vector.
1874618746

1874718747
The second argument is a constant flag that indicates whether the intrinsic
@@ -22026,7 +22026,7 @@ and ``evl2`` are unsigned integers indicating the explicit vector lengths of
2202622026
``vec1`` and ``vec2`` respectively. ``imm``, ``evl1`` and ``evl2`` should
2202722027
respect the following constraints: ``-evl1 <= imm < evl1``, ``0 <= evl1 <= VL``
2202822028
and ``0 <= evl2 <= VL``, where ``VL`` is the runtime vector factor. If these
22029-
constraints are not satisfied the intrinsic has undefined behaviour.
22029+
constraints are not satisfied the intrinsic has undefined behavior.
2203022030

2203122031
Semantics:
2203222032
""""""""""
@@ -24442,7 +24442,7 @@ operand. The pointer alignment defaults to 1.
2444224442
Semantics:
2444324443
""""""""""
2444424444

24445-
The '``llvm.masked.compressstore``' intrinsic is designed for compressing data in memory. It allows to collect elements from possibly non-adjacent lanes of a vector and store them contiguously in memory in one IR operation. It is useful for targets that support compressing store operations and allows vectorizing loops with cross-iteration dependences like in the following example:
24445+
The '``llvm.masked.compressstore``' intrinsic is designed for compressing data in memory. It allows to collect elements from possibly non-adjacent lanes of a vector and store them contiguously in memory in one IR operation. It is useful for targets that support compressing store operations and allows vectorizing loops with cross-iteration dependencies like in the following example:
2444624446

2444724447
.. code-block:: c
2444824448

@@ -26584,7 +26584,7 @@ Semantics:
2658426584

2658526585
The '``llvm.set.fpenv``' intrinsic sets the current floating-point environment
2658626586
to the state specified by the argument. The state may be previously obtained by a
26587-
call to '``llvm.get.fpenv``' or synthesised in a platform-dependent way.
26587+
call to '``llvm.get.fpenv``' or synthesized in a platform-dependent way.
2658826588

2658926589

2659026590
'``llvm.reset.fpenv``' Intrinsic
@@ -27013,7 +27013,7 @@ This intrinsic is lowered to code which is intended to cause an execution trap,
2701327013
embedding the argument into encoding of that trap somehow to discriminate
2701427014
crashes if possible.
2701527015

27016-
Equivalent to ``@llvm.trap`` for targets that do not support this behaviour.
27016+
Equivalent to ``@llvm.trap`` for targets that do not support this behavior.
2701727017

2701827018
'``llvm.stackprotector``' Intrinsic
2701927019
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -27954,7 +27954,7 @@ Arguments:
2795427954
The first three arguments are the same as they are in the :ref:`@llvm.memcpy <int_memcpy>`
2795527955
intrinsic, with the added constraint that ``len`` is required to be a positive integer
2795627956
multiple of the ``element_size``. If ``len`` is not a positive integer multiple of
27957-
``element_size``, then the behaviour of the intrinsic is undefined.
27957+
``element_size``, then the behavior of the intrinsic is undefined.
2795827958

2795927959
``element_size`` must be a compile-time constant positive power of two no greater than
2796027960
target-specific atomic access size limit.
@@ -28030,7 +28030,7 @@ The first three arguments are the same as they are in the
2803028030
:ref:`@llvm.memmove <int_memmove>` intrinsic, with the added constraint that
2803128031
``len`` is required to be a positive integer multiple of the ``element_size``.
2803228032
If ``len`` is not a positive integer multiple of ``element_size``, then the
28033-
behaviour of the intrinsic is undefined.
28033+
behavior of the intrinsic is undefined.
2803428034

2803528035
``element_size`` must be a compile-time constant positive power of two no
2803628036
greater than a target-specific atomic access size limit.
@@ -28109,7 +28109,7 @@ Arguments:
2810928109
The first three arguments are the same as they are in the :ref:`@llvm.memset <int_memset>`
2811028110
intrinsic, with the added constraint that ``len`` is required to be a positive integer
2811128111
multiple of the ``element_size``. If ``len`` is not a positive integer multiple of
28112-
``element_size``, then the behaviour of the intrinsic is undefined.
28112+
``element_size``, then the behavior of the intrinsic is undefined.
2811328113

2811428114
``element_size`` must be a compile-time constant positive power of two no greater than
2811528115
target-specific atomic access size limit.

0 commit comments

Comments
 (0)