Skip to content

Commit 97b05d2

Browse files
shiltiantmsri
authored andcommitted
[NFC] Remove trailing whitespaces in llvm/docs/LangRef.rst
1 parent d0afe40 commit 97b05d2

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
@@ -354,7 +354,7 @@ added in the future:
354354
not be used lightly but only for specific situations such as an
355355
alternative to the *register pinning* performance technique often
356356
used when implementing functional programming languages. At the
357-
moment only X86, AArch64, and RISCV support this convention. The
357+
moment only X86, AArch64, and RISCV support this convention. The
358358
following limitations exist:
359359

360360
- On *X86-32* only up to 4 bit type parameters are supported. No
@@ -685,10 +685,10 @@ implementation defined, the optimizer can't do the latter. The former is
685685
challenging as many commonly expected properties, such as
686686
``ptrtoint(v)-ptrtoint(v) == 0``, don't hold for non-integral types.
687687
Similar restrictions apply to intrinsics that might examine the pointer bits,
688-
such as :ref:`llvm.ptrmask<int_ptrmask>`.
688+
such as :ref:`llvm.ptrmask<int_ptrmask>`.
689689

690690
The alignment information provided by the frontend for a non-integral pointer
691-
(typically using attributes or metadata) must be valid for every possible
691+
(typically using attributes or metadata) must be valid for every possible
692692
representation of the pointer.
693693

694694
.. _globalvars:
@@ -1677,10 +1677,10 @@ Currently, only the following parameter attributes are defined:
16771677
- The range is allowed to wrap.
16781678
- The empty range is represented using ``0,0``.
16791679
- Otherwise, ``a`` and ``b`` are not allowed to be equal.
1680-
1681-
This attribute may only be applied to parameters or return values with integer
1680+
1681+
This attribute may only be applied to parameters or return values with integer
16821682
or vector of integer types.
1683-
1683+
16841684
For vector-typed parameters, the range is applied element-wise.
16851685

16861686
.. _gc:
@@ -14346,7 +14346,7 @@ Arguments:
1434614346
""""""""""
1434714347
The first 4 arguments are similar to ``llvm.instrprof.increment``. The indexing
1434814348
is specific to callsites, meaning callsites are indexed from 0, independent from
14349-
the indexes used by the other intrinsics (such as
14349+
the indexes used by the other intrinsics (such as
1435014350
``llvm.instrprof.increment[.step]``).
1435114351

1435214352
The last argument is the called value of the callsite this intrinsic precedes.
@@ -14360,7 +14360,7 @@ a buffer LLVM can use to perform counter increments (i.e. the lowering of
1436014360
``llvm.instrprof.increment[.step]``. The address range following the counter
1436114361
buffer, ``<num-counters>`` x ``sizeof(ptr)`` - sized, is expected to contain
1436214362
pointers to contexts of functions called from this function ("subcontexts").
14363-
LLVM does not dereference into that memory region, just calculates GEPs.
14363+
LLVM does not dereference into that memory region, just calculates GEPs.
1436414364

1436514365
The lowering of ``llvm.instrprof.callsite`` consists of:
1436614366

@@ -14929,8 +14929,8 @@ integer bit width or any vector of integer elements.
1492914929
Overview:
1493014930
"""""""""
1493114931

14932-
Return ``-1`` if ``%a`` is signed less than ``%b``, ``0`` if they are equal, and
14933-
``1`` if ``%a`` is signed greater than ``%b``. Vector intrinsics operate on a per-element basis.
14932+
Return ``-1`` if ``%a`` is signed less than ``%b``, ``0`` if they are equal, and
14933+
``1`` if ``%a`` is signed greater than ``%b``. Vector intrinsics operate on a per-element basis.
1493414934

1493514935
Arguments:
1493614936
""""""""""
@@ -14958,8 +14958,8 @@ integer bit width or any vector of integer elements.
1495814958
Overview:
1495914959
"""""""""
1496014960

14961-
Return ``-1`` if ``%a`` is unsigned less than ``%b``, ``0`` if they are equal, and
14962-
``1`` if ``%a`` is unsigned greater than ``%b``. Vector intrinsics operate on a per-element basis.
14961+
Return ``-1`` if ``%a`` is unsigned less than ``%b``, ``0`` if they are equal, and
14962+
``1`` if ``%a`` is unsigned greater than ``%b``. Vector intrinsics operate on a per-element basis.
1496314963

1496414964
Arguments:
1496514965
""""""""""
@@ -21556,9 +21556,9 @@ Semantics:
2155621556
""""""""""
2155721557

2155821558
The '``llvm.vp.minimum``' intrinsic performs floating-point minimum (:ref:`minimum <i_minimum>`)
21559-
of the first and second vector arguments on each enabled lane, the result being
21559+
of the first and second vector arguments on each enabled lane, the result being
2156021560
NaN if either argument is a NaN. -0.0 is considered to be less than +0.0 for this
21561-
intrinsic. The result on disabled lanes is a :ref:`poison value <poisonvalues>`.
21561+
intrinsic. The result on disabled lanes is a :ref:`poison value <poisonvalues>`.
2156221562
The operation is performed in the default floating-point environment.
2156321563

2156421564
Examples:
@@ -29191,7 +29191,7 @@ Semantics:
2919129191
""""""""""
2919229192

2919329193
The intrinsic ``@llvm.allow.ubsan.check()`` returns either ``true`` or
29194-
``false``, depending on compiler options.
29194+
``false``, depending on compiler options.
2919529195

2919629196
For each evaluation of a call to this intrinsic, the program must be valid and
2919729197
correct both if it returns ``true`` and if it returns ``false``.
@@ -29250,13 +29250,13 @@ Semantics:
2925029250
""""""""""
2925129251

2925229252
The intrinsic ``@llvm.allow.runtime.check()`` returns either ``true`` or
29253-
``false``, depending on compiler options.
29253+
``false``, depending on compiler options.
2925429254

2925529255
For each evaluation of a call to this intrinsic, the program must be valid and
2925629256
correct both if it returns ``true`` and if it returns ``false``.
2925729257

2925829258
When used in a branch condition, it allows us to choose between
29259-
two alternative correct solutions for the same problem.
29259+
two alternative correct solutions for the same problem.
2926029260

2926129261
If the intrinsic is evaluated as ``true``, program should execute a guarded
2926229262
check. If the intrinsic is evaluated as ``false``, the program should avoid any

0 commit comments

Comments
 (0)