Skip to content

Commit 96ddbd6

Browse files
[llvm] Fix typos in documentation
1 parent b354028 commit 96ddbd6

16 files changed

+21
-21
lines changed

llvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4973,7 +4973,7 @@ A.7.32 Type Signature Computation
49734973

49744974
.. note::
49754975

4976-
This augments (in alphebetical order) DWARF Version 5 section 7.32, Table
4976+
This augments (in alphabetical order) DWARF Version 5 section 7.32, Table
49774977
7.32.
49784978

49794979
.. table:: Attributes used in type signature computation

llvm/docs/AMDGPUUsage.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ supported for the ``amdgcn`` target.
816816
``getelementptr`` operations, on buffer resources. They may be passed to
817817
AMDGPU buffer intrinsics, and they may be converted to and from ``i128``.
818818

819-
Casting a buffer resource to a bufer fat pointer is permitted and adds an offset
819+
Casting a buffer resource to a buffer fat pointer is permitted and adds an offset
820820
of 0.
821821

822822
**Streamout Registers**
@@ -1256,14 +1256,14 @@ The AMDGPU backend uses the following ELF header:
12561256
``EF_AMDGPU_FEATURE_XNACK_V4`` 0x300 XNACK selection mask for
12571257
``EF_AMDGPU_FEATURE_XNACK_*_V4``
12581258
values.
1259-
``EF_AMDGPU_FEATURE_XNACK_UNSUPPORTED_V4`` 0x000 XNACK unsuppored.
1259+
``EF_AMDGPU_FEATURE_XNACK_UNSUPPORTED_V4`` 0x000 XNACK unsupported.
12601260
``EF_AMDGPU_FEATURE_XNACK_ANY_V4`` 0x100 XNACK can have any value.
12611261
``EF_AMDGPU_FEATURE_XNACK_OFF_V4`` 0x200 XNACK disabled.
12621262
``EF_AMDGPU_FEATURE_XNACK_ON_V4`` 0x300 XNACK enabled.
12631263
``EF_AMDGPU_FEATURE_SRAMECC_V4`` 0xc00 SRAMECC selection mask for
12641264
``EF_AMDGPU_FEATURE_SRAMECC_*_V4``
12651265
values.
1266-
``EF_AMDGPU_FEATURE_SRAMECC_UNSUPPORTED_V4`` 0x000 SRAMECC unsuppored.
1266+
``EF_AMDGPU_FEATURE_SRAMECC_UNSUPPORTED_V4`` 0x000 SRAMECC unsupported.
12671267
``EF_AMDGPU_FEATURE_SRAMECC_ANY_V4`` 0x400 SRAMECC can have any value.
12681268
``EF_AMDGPU_FEATURE_SRAMECC_OFF_V4`` 0x800 SRAMECC disabled,
12691269
``EF_AMDGPU_FEATURE_SRAMECC_ON_V4`` 0xc00 SRAMECC enabled.

llvm/docs/BigEndianNEON.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ A vector is a consecutive sequence of items that are operated on simultaneously.
6868

6969
Because of this, the instruction ``LD1`` performs a vector load but performs byte swapping not on the entire 64 bits, but on the individual items within the vector. This means that the register content is the same as it would have been on a little endian system.
7070

71-
It may seem that ``LD1`` should suffice to peform vector loads on a big endian machine. However there are pros and cons to the two approaches that make it less than simple which register format to pick.
71+
It may seem that ``LD1`` should suffice to perform vector loads on a big endian machine. However there are pros and cons to the two approaches that make it less than simple which register format to pick.
7272

7373
There are two options:
7474

llvm/docs/CodeOfConduct.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ needed) email [email protected].
136136
Code of Conduct Committee
137137
=========================
138138

139-
The committee will consist of a mininum of 5 members and members are asked to
139+
The committee will consist of a minimum of 5 members and members are asked to
140140
serve at least a 1 year term. New committee members will be selected by the
141141
current committee and the LLVM Foundation Board of Directors.
142142

llvm/docs/CommandGuide/llvm-mc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ specified architecture and generate object file or executable as a output
1616
for a specified architecture.
1717

1818
:program:`llvm-mc` provide powerful set of the tool for working with the machine code such
19-
as encoding of their instruction and their internal representation, dissasemble
19+
as encoding of their instruction and their internal representation, disassemble
2020
string to bytes etc.
2121

2222
The choice of architecture for the output assembly code is automatically

llvm/docs/CommandGuide/tblgen.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ clang-tblgen Options
109109

110110
.. option:: -gen-clang-attr-classes
111111

112-
Generate Clang attribute clases.
112+
Generate Clang attribute classes.
113113

114114
.. option:: -gen-clang-attr-parser-string-switches
115115

llvm/docs/Coroutines.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1705,7 +1705,7 @@ and `coro.promise`_ intrinsics.
17051705

17061706
CoroSplit
17071707
---------
1708-
The pass CoroSplit buides coroutine frame and outlines resume and destroy parts
1708+
The pass CoroSplit builds coroutine frame and outlines resume and destroy parts
17091709
into separate functions.
17101710

17111711
CoroElide

llvm/docs/GarbageCollection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ require them.
735735
| register | NO | | | **?** | **?** | **?** | **?** | **?** |
736736
| map | | | | | | | | |
737737
+------------+------+--------+----------+-------+---------+-------------+----------+------------+
738-
| \* Derived pointers only pose a hasard to copying collections. |
738+
| \* Derived pointers only pose a hazard to copying collections. |
739739
+------------+------+--------+----------+-------+---------+-------------+----------+------------+
740740
| **?** denotes a feature which could be utilized if available. |
741741
+------------+------+--------+----------+-------+---------+-------------+----------+------------+

llvm/docs/GettingStartedVS.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ These instruction were tested with Visual Studio 2019 and Python 3.9.6:
164164
**RelWithDebInfo** which is also several time larger than Release.
165165
Another technique is to build all of LLVM in Release mode and change
166166
compiler flags, disabling optimization and enabling debug information, only
167-
for specific librares or source files you actually need to debug.
167+
for specific libraries or source files you actually need to debug.
168168

169169
14. Test LLVM in Visual Studio:
170170

llvm/docs/HowToAddABuilder.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Use Ninja & LLD
236236
Ninja really does help build times over Make, particularly for highly
237237
parallel builds. LLD helps to reduce both link times and memory usage
238238
during linking significantly. With a build machine with sufficient
239-
parallism, link times tend to dominate critical path of the build, and are
239+
parallelism, link times tend to dominate critical path of the build, and are
240240
thus worth optimizing.
241241

242242
Use CCache and NOT incremental builds

llvm/docs/JITLink.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ JITLink provides a generic link algorithm which can be extended / modified at
422422
certain points by the introduction of JITLink :ref:`passes`.
423423

424424
At the end of each phase the linker packages its state into a *continuation*
425-
and calls the ``JITLinkContext`` object to perform a (potentialy high-latency)
425+
and calls the ``JITLinkContext`` object to perform a (potentially high-latency)
426426
asynchronous operation: allocating memory, resolving external symbols, and
427427
finally transferring linked memory to the executing process.
428428

@@ -721,7 +721,7 @@ and pass it to the ``OnFinalized`` callback.
721721
Finalized allocations (represented by ``FinalizedAlloc`` objects) can be
722722
deallocated by calling the ``JITLinkMemoryManager::dealloc`` method. This method
723723
takes a vector of ``FinalizedAlloc`` objects, since it is common to deallocate
724-
multiple objects at the same time and this allows us to batch these requsets for
724+
multiple objects at the same time and this allows us to batch these requests for
725725
transmission to the executing process.
726726

727727
JITLink provides a simple in-process implementation of this interface:

llvm/docs/LangRef.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4193,7 +4193,7 @@ or '``void``') and be used anywhere a constant is permitted.
41934193

41944194
.. note::
41954195

4196-
A '``poison``' value (decribed in the next section) should be used instead of
4196+
A '``poison``' value (described in the next section) should be used instead of
41974197
'``undef``' whenever possible. Poison values are stronger than undef, and
41984198
enable more optimizations. Just the existence of '``undef``' blocks certain
41994199
optimizations (see the examples below).

llvm/docs/MemorySSA.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,10 +470,10 @@ In practice, there are implementation details in LLVM that also affect the
470470
results' precision provided by ``MemorySSA``. For example, AliasAnalysis has various
471471
caps, or restrictions on looking through phis which can affect what ``MemorySSA``
472472
can infer. Changes made by different passes may make MemorySSA either "overly
473-
optimized" (it can provide a more acccurate result than if it were recomputed
473+
optimized" (it can provide a more accurate result than if it were recomputed
474474
from scratch), or "under optimized" (it could infer more if it were recomputed).
475475
This can lead to challenges to reproduced results in isolation with a single pass
476-
when the result relies on the state aquired by ``MemorySSA`` due to being updated by
476+
when the result relies on the state acquired by ``MemorySSA`` due to being updated by
477477
multiple subsequent passes.
478478
Passes that use and update ``MemorySSA`` should do so through the APIs provided by the
479479
``MemorySSAUpdater``, or through calls on the Walker.

llvm/docs/ProgrammersManual.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2475,7 +2475,7 @@ choice for representing sets which have lots of very short ranges. E.g. the set
24752475
Useful Utility Functions
24762476
========================
24772477

2478-
LLVM implements a number of general utility functions used acrossed the
2478+
LLVM implements a number of general utility functions used across the
24792479
codebase. You can find the most common ones in ``STLExtras.h``
24802480
(`doxygen <https://llvm.org/doxygen/STLExtras_8h.html>`__). Some of these wrap
24812481
well-known C++ standard library functions, while others are unique to LLVM.

llvm/docs/SourceLevelDebugging.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,14 +250,14 @@ the complex expression derives the direct value.
250250
Value *Address,
251251
DIExpression *AddressExpression)
252252
253-
This intrinsic marks the position in IR where a source assignment occured. It
253+
This intrinsic marks the position in IR where a source assignment occurred. It
254254
encodes the value of the variable. It references the store, if any, that
255255
performs the assignment, and the destination address.
256256

257257
The first three arguments are the same as for an ``llvm.dbg.value``. The fourth
258258
argument is a ``DIAssignID`` used to reference a store. The fifth is the
259259
destination of the store (wrapped as metadata), and the sixth is a `complex
260-
expression <LangRef.html#diexpression>`_ that modfies it.
260+
expression <LangRef.html#diexpression>`_ that modifies it.
261261

262262
The formal LLVM-IR signature is:
263263

llvm/docs/TableGen/ProgRef.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1639,7 +1639,7 @@ and non-0 as true.
16391639
``(op a1-value:$name1, a2-value:$name2, ?:$name3)``.
16401640

16411641
``!div(``\ *a*\ ``,`` *b*\ ``)``
1642-
This operator preforms signed division of *a* by *b*, and produces the quotient.
1642+
This operator performs signed division of *a* by *b*, and produces the quotient.
16431643
Division by 0 produces an error. Division of INT64_MIN by -1 produces an error.
16441644

16451645
``!empty(``\ *a*\ ``)``

0 commit comments

Comments
 (0)