Skip to content

Commit e8fa901

Browse files
[llvm] Fix typos in documentation (NFC)
1 parent c81dde9 commit e8fa901

24 files changed

+44
-44
lines changed

llvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ If a DWARF expression is ill-formed, then the result is undefined.
500500
The following sections detail the rules for when a DWARF expression is
501501
ill-formed or results in an evaluation error.
502502

503-
A DWARF expression can either be encoded as a operation expression (see
503+
A DWARF expression can either be encoded as an operation expression (see
504504
:ref:`amdgpu-dwarf-operation-expressions`), or as a location list expression
505505
(see :ref:`amdgpu-dwarf-location-list-expressions`).
506506

llvm/docs/AMDGPUModifierSyntax.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ GFX7, GFX8 and GFX10 only.
422422
r128 Specifies 128 bits texture resource size.
423423
=================== ================================================
424424

425-
.. WARNING:: Using this modifier should descrease *rsrc* operand size from 8 to 4 dwords, but assembler does not currently support this feature.
425+
.. WARNING:: Using this modifier should decrease *rsrc* operand size from 8 to 4 dwords, but assembler does not currently support this feature.
426426

427427
tfe
428428
~~~
@@ -831,7 +831,7 @@ GFX10 only.
831831

832832
Unified format is a replacement for :ref:`data<amdgpu_synid_format_data>`
833833
and :ref:`numeric<amdgpu_synid_format_num>` formats. For compatibility with older ISA,
834-
:ref:`syntax with data and numeric formats<amdgpu_synid_fmt>` is still accepthed
834+
:ref:`syntax with data and numeric formats<amdgpu_synid_fmt>` is still accepted
835835
provided that the combination of formats can be mapped to a unified format.
836836

837837
Supported unified formats and equivalent combinations of data and numeric formats

llvm/docs/AMDGPUUsage.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ AMDGPU supports target IDs. See `Clang Offload Bundler
528528
description. The AMDGPU target specific information is:
529529

530530
**processor**
531-
Is a AMDGPU processor or alternative processor name specified in
531+
Is an AMDGPU processor or alternative processor name specified in
532532
:ref:`amdgpu-processor-table`. The non-canonical form target ID allows both
533533
the primary processor and alternative processor names. The canonical form
534534
target ID only allow the primary processor name.
@@ -4580,7 +4580,7 @@ There are different methods used for initializing flat scratch:
45804580
Private Segment Buffer
45814581
++++++++++++++++++++++
45824582

4583-
Private Segment Buffer SGPR register is used to initilize 4 SGPRs
4583+
Private Segment Buffer SGPR register is used to initialize 4 SGPRs
45844584
that are used as a V# to access scratch. CP uses the value provided by the
45854585
runtime. It is used, together with Scratch Wavefront Offset as an offset, to
45864586
access the private memory space using a segment address. See
@@ -6042,7 +6042,7 @@ For GFX90A:
60426042
wavefront.
60436043

60446044
* No special action is required for coherence between wavefronts in the same
6045-
work-group since they exeute on the same CU. The exception is when in
6045+
work-group since they execute on the same CU. The exception is when in
60466046
tgsplit execution mode as wavefronts of the same work-group can be in
60476047
different CUs and so a ``buffer_wbinvl1_vol`` is required as described in
60486048
the following item.

llvm/docs/BitCodeFormat.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Abbreviated Record Encoding
264264

265265
``[<abbrevid>, fields...]``
266266

267-
An abbreviated record is a abbreviation id followed by a set of fields that are
267+
An abbreviated record is an abbreviation id followed by a set of fields that are
268268
encoded according to the `abbreviation definition`_. This allows records to be
269269
encoded significantly more densely than records encoded with the
270270
`UNABBREV_RECORD`_ type, and allows the abbreviation types to be specified in

llvm/docs/CommandGuide/llvm-install-name-tool.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ the same `<rpath>` value.
3535
Change an install name ``<old_install_name>`` to ``<new_install_name>`` in the
3636
specified binary. Can be specified multiple times to change multiple dependent shared
3737
library install names. Option is ignored if ``<old_install_name>`` is not listed
38-
in the specfied binary.
38+
in the specified binary.
3939

4040
.. option:: -delete_rpath <rpath>
4141

@@ -54,7 +54,7 @@ the same `<rpath>` value.
5454
.. option:: -id <name>
5555

5656
Change shared library's identification name under LC_ID_DYLIB to ``<name>`` in the
57-
specfied binary. If specified multiple times, only the last :option:`-id` option is
57+
specified binary. If specified multiple times, only the last :option:`-id` option is
5858
selected. Option is ignored if the specified Mach-O binary is not a dynamic shared library.
5959

6060
.. option:: -rpath <old_rpath> <new_rpath>

llvm/docs/CommandGuide/tblgen.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ llvm-tblgen Options
126126

127127
.. option:: -gen-attrs
128128

129-
Geneerate attributes.
129+
Generate attributes.
130130

131131
.. option:: -gen-automata
132132

@@ -218,7 +218,7 @@ llvm-tblgen Options
218218

219219
.. option:: -gicombiner-show-expansions
220220

221-
Make -gen-global-isel-combiner use C++ comments to indicate occurences
221+
Make -gen-global-isel-combiner use C++ comments to indicate occurrences
222222
of code expansion.
223223

224224
.. option:: -gicombiner-stop-after-build

llvm/docs/CommandLine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ now is:
387387
-quiet - Don't print informational messages
388388

389389
In this case, it is sort of awkward that flag names correspond directly to enum
390-
names, because we probably don't want a enum definition named "``g``" in our
390+
names, because we probably don't want an enum definition named "``g``" in our
391391
program. Because of this, we can alternatively write this example like this:
392392

393393
.. code-block:: c++

llvm/docs/Coroutines.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ coroutine. Therefore an async coroutine returns `void`.
190190
define swiftcc void @async_coroutine(i8* %async.ctxt, i8*, i8*) {
191191
}
192192
193-
Values live accross a suspend point need to be stored in the coroutine frame to
193+
Values live across a suspend point need to be stored in the coroutine frame to
194194
be available in the continuation function. This frame is stored as a tail to the
195195
`async context`.
196196

@@ -1206,7 +1206,7 @@ The third argument is the `async context` argument in the current coroutine.
12061206
The fourth argument is the address of the `async function pointer` struct.
12071207
Lowering will update the context size requirement in this struct by adding the
12081208
coroutine frame size requirement to the initial size requirement as specified by
1209-
the first argument of this intrinisc.
1209+
the first argument of this intrinsic.
12101210

12111211

12121212
Semantics:
@@ -1572,7 +1572,7 @@ The second argument is the `context projection function`. It should describe
15721572
how-to restore the `async context` in the continuation function from the first
15731573
argument of the continuation function. Its type is `i8* (i8*)`.
15741574

1575-
The third argument is the function that models tranfer to the callee at the
1575+
The third argument is the function that models transfer to the callee at the
15761576
suspend point. It should take 3 arguments. Lowering will `musttail` call this
15771577
function.
15781578

llvm/docs/Frontend/PerformanceTips.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Prefer zext over sext when legal
8181
On some architectures (X86_64 is one), sign extension can involve an extra
8282
instruction whereas zero extension can be folded into a load. LLVM will try to
8383
replace a sext with a zext when it can be proven safe, but if you have
84-
information in your source language about the range of a integer value, it can
84+
information in your source language about the range of an integer value, it can
8585
be profitable to use a zext rather than a sext.
8686

8787
Alternatively, you can :ref:`specify the range of the value using metadata

llvm/docs/JITLink.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ accessible. If it is not, please submit a patch (:doc:`Contributing`) or file a
1616
bug (:doc:`HowToSubmitABug`).
1717

1818
JITLink is a library for :ref:`jit_linking`. It was built to support the ORC JIT
19-
APIs and is most commonly accesed via ORC's ObjectLinkingLayer API. JITLink was
19+
APIs and is most commonly accessed via ORC's ObjectLinkingLayer API. JITLink was
2020
developed with the aim of supporting the full set of features provided by each
2121
object format; including static initializers, exception handling, thread local
2222
variables, and language runtime registration. Supporting these features enables
@@ -520,7 +520,7 @@ certain points by the introduction of JITLink :ref:`passes`:
520520
working memory and fixed up. Passes run at this stage can make late
521521
optimizations to the graph and content based on address layout.
522522

523-
Notable use cases: GOT and PLT relaxation, where GOT and PLT acceses are
523+
Notable use cases: GOT and PLT relaxation, where GOT and PLT accesses are
524524
bypassed for fixup targets that are directly accessible under the assigned
525525
memory layout.
526526

@@ -787,7 +787,7 @@ for them by an ``ObjectLinkingLayer`` instance, but they can be created manually
787787
``ObjectLinkingLayer`` usually creates ``LinkGraphs``.
788788

789789
#. ``createLinkGraph_<Object-Format>_<Architecture>`` can be used when
790-
both the object format and achitecture are known ahead of time.
790+
both the object format and architecture are known ahead of time.
791791

792792
#. ``createLinkGraph_<Object-Format>`` can be used when the object format is
793793
known ahead of time, but the architecture is not. In this case the
@@ -894,7 +894,7 @@ main function using the -args option:
894894
printf("arg %i is \"%s\"\n", i, argv[i]);
895895
}
896896
897-
% cat pring-args-main.c
897+
% cat print-args-main.c
898898
void print_args(int argc, char *argv[]);
899899
900900
int main(int argc, char *argv[]) {
@@ -1093,7 +1093,7 @@ Major outstanding projects include:
10931093
JITLink Availability and Feature Status
10941094
---------------------------------------
10951095

1096-
.. list-table:: Avalability and Status
1096+
.. list-table:: Availability and Status
10971097
:widths: 10 30 30 30
10981098
:header-rows: 1
10991099

0 commit comments

Comments
 (0)