Skip to content

Commit e334a3a

Browse files
committed
[docs] NFC: Fix typos in documents
"the the" -> "the" "an" -> "a" Patch by Kazuaki Ishizaki <ishizaki@jp.ibm.com>! Differential revision: https://reviews.llvm.org/D72091
1 parent 3c7f740 commit e334a3a

9 files changed

+10
-10
lines changed

llvm/docs/AMDGPUUsage.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1708,7 +1708,7 @@ tables.
17081708

17091709
Additional information can be added to the maps. To avoid conflicts,
17101710
any key names should be prefixed by "*vendor-name*." where
1711-
``vendor-name`` can be the the name of the vendor and specific vendor
1711+
``vendor-name`` can be the name of the vendor and specific vendor
17121712
tool that generates the information. The prefix is abbreviated to
17131713
simply "." when it appears within a map that has been added by the
17141714
same *vendor-name*.

llvm/docs/Atomics.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ Notes for frontends
292292
Notes for optimizers
293293
Optimizers not aware of atomics can treat this like a nothrow call. It is
294294
also possible to move loads from after a Release store or read-modify-write
295-
operation to before it, and move non-Release stores from after an Release
295+
operation to before it, and move non-Release stores from after a Release
296296
operation to before it.
297297

298298
Notes for code generation

llvm/docs/Frontend/PerformanceTips.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ couple specific suggestions:
270270
I Still Can't Find What I'm Looking For
271271
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
272272

273-
If you didn't find what you were looking for above, consider proposing an piece
273+
If you didn't find what you were looking for above, consider proposing a piece
274274
of metadata which provides the optimization hint you need. Such extensions are
275275
relatively common and are generally well received by the community. You will
276276
need to ensure that your proposal is sufficiently general so that it benefits

llvm/docs/GlobalISel/GenericOpcode.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Convert an integer to a pointer.
143143
G_PTRTOINT
144144
^^^^^^^^^^
145145

146-
Convert an pointer to an integer.
146+
Convert a pointer to an integer.
147147

148148
.. code-block:: none
149149

llvm/docs/HowToBuildWithPGO.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Using the script
1818

1919
We have a script at ``utils/collect_and_build_with_pgo.py``. This script is
2020
tested on a few Linux flavors, and requires a checkout of LLVM, Clang, and
21-
compiler-rt. Despite the the name, it performs four clean builds of Clang, so it
21+
compiler-rt. Despite the name, it performs four clean builds of Clang, so it
2222
can take a while to run to completion. Please see the script's ``--help`` for
2323
more information on how to run it, and the different options available to you.
2424
If you want to get the most out of PGO for a particular use-case (e.g. compiling

llvm/docs/LangRef.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -10308,7 +10308,7 @@ This instruction requires several arguments:
1030810308
#. If the musttail call appears in a function with the ``"thunk"`` attribute
1030910309
and the caller and callee both have varargs, than any unprototyped
1031010310
arguments in register or memory are forwarded to the callee. Similarly,
10311-
the return value of the callee is returned the the caller's caller, even
10311+
the return value of the callee is returned to the caller's caller, even
1031210312
if a void return type is in use.
1031310313

1031410314
Both markers imply that the callee does not access allocas from the caller.

llvm/docs/ORCv2.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Features
4040
ORC provides the following features:
4141

4242
- *JIT-linking* links relocatable object files (COFF, ELF, MachO) [1]_ into a
43-
target process an runtime. The target process may be the same process that
43+
target process at runtime. The target process may be the same process that
4444
contains the JIT session object and jit-linker, or may be another process
4545
(even one running on a different machine or architecture) that communicates
4646
with the JIT via RPC.
@@ -97,7 +97,7 @@ JIT API.
9797

9898
LLJIT and LLLazyJIT instances can be created using their respective builder
9999
classes: LLJITBuilder and LLazyJITBuilder. For example, assuming you have a
100-
module ``M`` loaded on an ThreadSafeContext ``Ctx``:
100+
module ``M`` loaded on a ThreadSafeContext ``Ctx``:
101101

102102
.. code-block:: c++
103103

llvm/docs/Passes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ table.
329329

330330
The ``RegionInfo`` pass detects single entry single exit regions in a function,
331331
where a region is defined as any subgraph that is connected to the remaining
332-
graph at only two spots. Furthermore, an hierarchical region tree is built.
332+
graph at only two spots. Furthermore, a hierarchical region tree is built.
333333

334334
``-scalar-evolution``: Scalar Evolution Analysis
335335
------------------------------------------------

llvm/docs/SourceLevelDebugging.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ perhaps, be optimized into the following code:
471471
}
472472
473473
What ``llvm.dbg.value`` intrinsics should be placed to represent the original variable
474-
locations in this code? Unfortunately the the second, third and fourth
474+
locations in this code? Unfortunately the second, third and fourth
475475
dbg.values for ``!1`` in the source function have had their operands
476476
(%tval, %fval, %merge) optimized out. Assuming we cannot recover them, we
477477
might consider this placement of dbg.values:

0 commit comments

Comments
 (0)