Skip to content

Commit a31b389

Browse files
[docs] Fix typos
1 parent ef018cb commit a31b389

15 files changed

+19
-19
lines changed

llvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ compiler [:ref:`GCC <amdgpu-dwarf-GCC>`] and the Perforce TotalView HPC debugger
9696
[:ref:`Perforce-TotalView <amdgpu-dwarf-Perforce-TotalView>`].
9797

9898
However, the extensions are intended to be vendor and architecture neutral. They
99-
are believed to apply to other heterogenous hardware devices including GPUs,
99+
are believed to apply to other heterogeneous hardware devices including GPUs,
100100
DSPs, FPGAs, and other specialized hardware. These collectively include similar
101101
characteristics and requirements as AMDGPU devices. Some of the extension can
102102
also apply to traditional CPU hardware that supports large vector registers.
@@ -2068,7 +2068,7 @@ register starting at the specified bit offset.
20682068

20692069
*An implementation may evaluate the call frame information immediately, or
20702070
may defer evaluation until L is accessed by an operation. If evaluation is
2071-
defered, R and the current context can be recorded in L. When accessed, the
2071+
deferred, R and the current context can be recorded in L. When accessed, the
20722072
recorded context is used to evaluate the call frame information, not the
20732073
current context of the access operation.*
20742074

llvm/docs/AMDGPUUsage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@ The loaded code object path URI syntax is defined by the following BNF syntax:
11391139
**file_path**
11401140
Is the file's path specified as a URI encoded UTF-8 string. In URI encoding,
11411141
every character that is not in the regular expression ``[a-zA-Z0-9/_.~-]`` is
1142-
encoded as two uppercase hexidecimal digits proceeded by "%". Directories in
1142+
encoded as two uppercase hexadecimal digits proceeded by "%". Directories in
11431143
the path are separated by "/".
11441144

11451145
**offset**
@@ -6568,7 +6568,7 @@ On exit from a function:
65686568
VGPR232-239
65696569
VGPR248-255
65706570

6571-
*Except the argument registers, the VGPR cloberred and the preserved
6571+
*Except the argument registers, the VGPR clobbered and the preserved
65726572
registers are intermixed at regular intervals in order to
65736573
get a better occupancy.*
65746574

llvm/docs/AliasAnalysis.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ In this case, the ``basic-aa`` pass will disambiguate the stores to ``C[0]`` and
8181
``C[1]`` because they are accesses to two distinct locations one byte apart, and
8282
the accesses are each one byte. In this case, the Loop Invariant Code Motion
8383
(LICM) pass can use store motion to remove the stores from the loop. In
84-
constrast, the following code:
84+
contrast, the following code:
8585

8686
.. code-block:: c++
8787

llvm/docs/BugLifeCycle.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Examples of reasons for resolving are:
116116
clearly understand the problem being reported (e.g. not reproducible). It is
117117
fine to resolve such a bug e.g. with resolution WORKSFORME and leaving a
118118
comment to encourage the reporter to reopen the bug with more information
119-
if it's still reproducable on their end.
119+
if it's still reproducible on their end.
120120

121121
If a bug is resolved, please fill in the revision number it was fixed in in the
122122
"Fixed by Commit(s)" field.

llvm/docs/CMake.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ LLVM-specific variables
447447
**LLVM_STATIC_LINK_CXX_STDLIB**:BOOL
448448
Statically link to the C++ standard library if possible. This uses the flag
449449
"-static-libstdc++", but a Clang host compiler will statically link to libc++
450-
if used in conjuction with the **LLVM_ENABLE_LIBCXX** flag. Defaults to OFF.
450+
if used in conjunction with the **LLVM_ENABLE_LIBCXX** flag. Defaults to OFF.
451451

452452
**LLVM_ENABLE_LLD**:BOOL
453453
This option is equivalent to `-DLLVM_USE_LINKER=lld`, except during a 2-stage

llvm/docs/CommandGuide/llvm-extract.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ OPTIONS
3939

4040
**--bb** *basic-block-specifier*
4141

42-
Extract basic blocks(s) specicified in *basic-block-specifier*. May be
42+
Extract basic blocks(s) specified in *basic-block-specifier*. May be
4343
specified multiple times. Each <function:bb[;bb]> specifier pair will create
4444
a function. If multiple basic blocks are specified in one pair, the first
4545
block in the sequence should dominate the rest.

llvm/docs/ExceptionHandling.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ on Itanium C++ ABI platforms. The fundamental difference between the two models
530530
is that Itanium EH is designed around the idea of "successive unwinding," while
531531
Windows EH is not.
532532

533-
Under Itanium, throwing an exception typically involes allocating thread local
533+
Under Itanium, throwing an exception typically involves allocating thread local
534534
memory to hold the exception, and calling into the EH runtime. The runtime
535535
identifies frames with appropriate exception handling actions, and successively
536536
resets the register context of the current thread to the most recently active

llvm/docs/GlobalISel/GMIR.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ In practice, register files A and B are rarely equal. They can typically store
104104
the same data but there's usually some restrictions on what operations you can
105105
do on each register file. A fairly common pattern is for one of them to be
106106
accessible to integer operations and the other accessible to floating point
107-
operations. To accomodate this, let's rename A and B to GPR (general purpose
107+
operations. To accommodate this, let's rename A and B to GPR (general purpose
108108
registers) and FPR (floating point registers).
109109

110110
We now have some additional constraints that limit us. An operation like G_FMUL

llvm/docs/GlobalISel/GenericOpcode.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ G_BITCAST
153153
^^^^^^^^^
154154

155155
Reinterpret a value as a new type. This is usually done without
156-
changing any bits but this is not always the case due a sublety in the
156+
changing any bits but this is not always the case due a subtlety in the
157157
definition of the :ref:`LLVM-IR Bitcast Instruction <i_bitcast>`. It
158158
is allowed to bitcast between pointers with the same size, but
159159
different address spaces.

llvm/docs/HowToSetUpLLVMStyleRTTI.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ template argument and the parent class as the second argument. Any class that
430430
uses ``RTTIExtends`` must define a ``static char ID`` member, the address of
431431
which will be used to identify the type.
432432

433-
This open-hierarchy RTTI support should only be used if your use case requries
433+
This open-hierarchy RTTI support should only be used if your use case requires
434434
it. Otherwise the standard LLVM RTTI system should be preferred.
435435

436436
.. _`Curiously Recurring Template Idiom`:

llvm/docs/LangRef.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4882,7 +4882,7 @@ raw data, if they aren't equivalent. This is only supported for array types,
48824882
particularly to describe Fortran arrays, which have an array descriptor in
48834883
addition to the array data. Alternatively it can also be DIVariable which
48844884
has the address of the actual raw data. The Fortran language supports pointer
4885-
arrays which can be attached to actual arrays, this attachement between pointer
4885+
arrays which can be attached to actual arrays, this attachment between pointer
48864886
and pointee is called association. The optional ``associated`` is a
48874887
DIExpression that describes whether the pointer array is currently associated.
48884888
The optional ``allocated`` is a DIExpression that describes whether the
@@ -6915,7 +6915,7 @@ We can expect the record like this:
69156915

69166916
params: ((param: 0, offset: [0, 7]),(param: 2, offset: [5, 5], calls: ((callee: ^3, param: 1, offset: [-128, 127]))))
69176917

6918-
The function may access just 8 bytes of the paramenter %0 . ``calls`` is empty,
6918+
The function may access just 8 bytes of the parameter %0 . ``calls`` is empty,
69196919
so the parameter is either not used for function calls or ``offset`` already
69206920
covers all accesses from nested function calls.
69216921
Parameter %1 escapes, so access is unknown.
@@ -16943,7 +16943,7 @@ Back-edge Taken Count (BTC). Thus, these intrinsics perform an element-wise
1694316943
less than or equal comparison of VIV with BTC, producing a mask of true/false
1694416944
values representing active/inactive vector lanes, except if the VIV overflows
1694516945
in which case they return false in the lanes where the VIV overflows. The
16946-
arguments are scalar types to accomodate scalable vector types, for which it is
16946+
arguments are scalar types to accommodate scalable vector types, for which it is
1694716947
unknown what the type of the step vector needs to be that enumerate its
1694816948
lanes without overflow.
1694916949

llvm/docs/MemorySSA.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ always introduces a new version of the entire memory and is linked with a single
5555
``MemoryDef/MemoryPhi`` which is the version of memory that the new
5656
version is based on. This implies that there is a *single*
5757
``Def`` chain that connects all the ``Def``\ s, either directly
58-
or indireclty. For example in:
58+
or indirectly. For example in:
5959

6060
.. code-block:: llvm
6161

llvm/docs/Phabricator.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The tool to create and review patches in Phabricator is called
4949
*Differential*.
5050

5151
Note that you can upload patches created through git, but using `arc` on the
52-
command line (see previous section) is prefered: it adds more metadata to
52+
command line (see previous section) is preferred: it adds more metadata to
5353
Phabricator which are useful for the pre-merge testing system and for
5454
propagating attribution on commits when someone else has to push it for you.
5555

llvm/docs/Security.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Security Group Members
2525
The members of the group represent a wide cross-section of the community, and meet the criteria for inclusion below.
2626

2727
* Akila Srinivasan (Apple)
28-
* Dimitry Andric (invidual; FreeBSD)
28+
* Dimitry Andric (individual; FreeBSD)
2929
* Ed Maste (individual; FreeBSD)
3030
* JF Bastien (Apple)
3131
* Josh Eads (Sony)

llvm/docs/TestSuiteGuide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ benchmarks. CMake can print a list of them:
185185

186186
- `TEST_SUITE_COLLECT_STATS`
187187

188-
Collect internal LLVM statistics. Appends `-save-stats=obj` when invocing the
188+
Collect internal LLVM statistics. Appends `-save-stats=obj` when invoking the
189189
compiler and makes the lit runner collect and merge the statistic files.
190190

191191
- `TEST_SUITE_RUN_BENCHMARKS`

0 commit comments

Comments
 (0)