Skip to content

Commit 5294a0f

Browse files
committedAug 28, 2021
[llvm] Fix typos in documentation (NFC)
1 parent 0003d57 commit 5294a0f

9 files changed

+10
-10
lines changed
 

‎llvm/docs/AMDGPUUsage.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@ Loaded Code Object Path Uniform Resource Identifier (URI)
16311631
---------------------------------------------------------
16321632

16331633
The AMD GPU code object loader represents the path of the ELF shared object from
1634-
which the code object was loaded as a textual Unifom Resource Identifier (URI).
1634+
which the code object was loaded as a textual Uniform Resource Identifier (URI).
16351635
Note that the code object is the in memory loaded relocated form of the ELF
16361636
shared object. Multiple code objects may be loaded at different memory
16371637
addresses in the same process from the same ELF shared object.

‎llvm/docs/CommandGuide/llvm-objdump.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ OPTIONS
150150

151151
* ``reg-names-std``: ARM only (default). Print in ARM 's instruction set documentation, with r13/r14/r15 replaced by sp/lr/pc.
152152
* ``reg-names-raw``: ARM only. Use r followed by the register number.
153-
* ``no-aliases``: AArch64 and RISC-V only. Print raw instruction mnemonic instead of pesudo instruction mnemonic.
153+
* ``no-aliases``: AArch64 and RISC-V only. Print raw instruction mnemonic instead of pseudo instruction mnemonic.
154154
* ``numeric``: RISC-V only. Print raw register names instead of ABI mnemonic. (e.g. print x1 instead of ra)
155155
* ``att``: x86 only (default). Print in the AT&T syntax.
156156
* ``intel``: x86 only. Print in the intel syntax.

‎llvm/docs/CommandGuide/llvm-otool.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ OPTIONS
6969

7070
.. option:: -l
7171

72-
Print load commnads.
72+
Print load commands.
7373

7474
.. option:: -mcpu=<value>
7575

‎llvm/docs/GettingStarted.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ layout:
816816

817817
``llvm/cmake``
818818
--------------
819-
Genereates system build files.
819+
Generates system build files.
820820

821821
``llvm/cmake/modules``
822822
Build configuration for llvm user defined options. Checks compiler version and

‎llvm/docs/GlobalISel/GenericOpcode.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ These each perform their respective integer arithmetic on a scalar.
292292
293293
%dst:_(s32) = G_ADD %src0:_(s32), %src1:_(s32)
294294
295-
The above exmaple adds %src1 to %src0 and stores the result in %dst.
295+
The above example adds %src1 to %src0 and stores the result in %dst.
296296

297297
G_SDIVREM, G_UDIVREM
298298
^^^^^^^^^^^^^^^^^^^^

‎llvm/docs/HowToBuildWindowsItaniumPrograms.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Tell the libc++ headers that the Itanium C++ ABI is being used.
9797
* ``-DCMAKE_C_FLAGS="-lmsvcrt -llegacy_stdio_definitions -D_NO_CRT_STDIO_INLINE"``
9898

9999
Supply CRT definitions including stdio definitions that have been removed from the MS VS CRT.
100-
We don't want the stdio functions decalred inline as they will casuse multiple defintiion
100+
We don't want the stdio functions declared inline as they will cause multiple definition
101101
errors when the same symbols are pulled in from legacy_stdio_definitions.ib.
102102

103103
* ``-DCMAKE_INSTALL_PREFIX=<install path>``

‎llvm/docs/JITLink.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ with:
10141014
The ``-harness`` option may be of interest to people who want to perform some
10151015
very late testing on build products to verify that compiled code behaves as
10161016
expected. On basic C test cases this is relatively straightforward. Mocks for
1017-
more complicated languages (e.g. C++) are much tricker: Any code involving
1017+
more complicated languages (e.g. C++) are much trickier: Any code involving
10181018
classes tends to have a lot of non-trivial surface area (e.g. vtables) that
10191019
would require great care to mock.
10201020

‎llvm/docs/LangRef.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -22412,7 +22412,7 @@ Overview:
2241222412
"""""""""
2241322413

2241422414
The purpose of the ``llvm.arithmetic.fence`` intrinsic
22415-
is to prevent the optimizer from performaing fast-math optimizations,
22415+
is to prevent the optimizer from performing fast-math optimizations,
2241622416
particularly reassociation,
2241722417
between the argument and the expression that contains the argument.
2241822418
It can be used to preserve the parentheses in the source language.

‎llvm/docs/ScudoHardenedAllocator.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The allocator combines several components that serve distinct purposes:
4545
time options.
4646

4747
- the thread specific data Registry: defines how local caches operate for each
48-
thread. There are currently two models implemented: the exlusive model where
48+
thread. There are currently two models implemented: the exclusive model where
4949
each thread holds its own caches (using the ELF TLS); or the shared model
5050
where threads share a fixed size pool of caches.
5151

@@ -262,7 +262,7 @@ The following "mallopt" options are available (options are defined in
262262
+---------------------------+-------------------------------------------------------+
263263
| M_DECAY_TIME | Sets the release interval option to the specified |
264264
| | value (Android only allows 0 or 1 to respectively set |
265-
| | the interval to the mininum and maximum value as |
265+
| | the interval to the minimum and maximum value as |
266266
| | specified at compile time). |
267267
+---------------------------+-------------------------------------------------------+
268268
| M_PURGE | Forces immediate memory reclaiming (value is unused). |

0 commit comments

Comments
 (0)