Skip to content

Commit e3fdbae

Browse files
committed
fix various typos
llvm-svn: 306262
1 parent 94a2104 commit e3fdbae

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

llvm/docs/AMDGPUUsage.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ Code Object Metadata
587587
The code object metadata is specified by the ``NT_AMD_AMDHSA_METADATA`` note
588588
record (see :ref:`amdgpu-note-records`).
589589

590-
The metadata is specified as a YAML formated string (see [YAML]_ and
590+
The metadata is specified as a YAML formatted string (see [YAML]_ and
591591
:doc:`YamlIO`).
592592

593593
The metadata is represented as a single YAML document comprised of the mapping
@@ -1031,11 +1031,11 @@ Global variable
10311031
appropriate section according to if it has initialized data or is readonly.
10321032

10331033
If the symbol is external then its section is ``STN_UNDEF`` and the loader
1034-
will resolve relocations using the defintion provided by another code object
1034+
will resolve relocations using the definition provided by another code object
10351035
or explicitly defined by the runtime.
10361036

10371037
All global symbols, whether defined in the compilation unit or external, are
1038-
accessed by the machine code indirectly throught a GOT table entry. This
1038+
accessed by the machine code indirectly through a GOT table entry. This
10391039
allows them to be preemptable. The GOT table is only supported when the target
10401040
triple OS is ``amdhsa`` (see :ref:`amdgpu-target-triples`).
10411041

@@ -1160,7 +1160,7 @@ Register Mapping
11601160
Define DWARF register enumeration.
11611161

11621162
If want to present a wavefront state then should expose vector registers as
1163-
64 wide (rather than per work-item view that LLVM uses). Either as seperate
1163+
64 wide (rather than per work-item view that LLVM uses). Either as separate
11641164
registers, or a 64x4 byte single register. In either case use a new LANE op
11651165
(akin to XDREF) to select the current lane usage in a location
11661166
expression. This would also allow scalar register spilling to vector register
@@ -1653,7 +1653,7 @@ CP microcode requires the Kernel descritor to be allocated on 64 byte alignment.
16531653
``COMPUTE_PGM_RSRC2.USER_SGPR``.
16541654
6 1 bit enable_trap_handler Set to 1 if code contains a
16551655
TRAP instruction which
1656-
requires a trap hander to
1656+
requires a trap handler to
16571657
be enabled.
16581658

16591659
CP sets
@@ -2146,7 +2146,7 @@ This section describes the mapping of LLVM memory model onto AMDGPU machine code
21462146
.. TODO
21472147
Update when implementation complete.
21482148

2149-
Support more relaxed OpenCL memory model to be controled by environment
2149+
Support more relaxed OpenCL memory model to be controlled by environment
21502150
component of target triple.
21512151

21522152
The AMDGPU backend supports the memory synchronization scopes specified in
@@ -2201,7 +2201,7 @@ For GFX6-GFX9:
22012201
can be reordered relative to each other, which can result in reordering the
22022202
visibility of vector memory operations with respect to LDS operations of other
22032203
wavefronts in the same work-group. A ``s_waitcnt lgkmcnt(0)`` is required to
2204-
ensure synchonization between LDS operations and vector memory operations
2204+
ensure synchronization between LDS operations and vector memory operations
22052205
between waves of a work-group, but not between operations performed by the
22062206
same wavefront.
22072207
* The vector memory operations are performed as wavefront wide operations and
@@ -2226,7 +2226,7 @@ For GFX6-GFX9:
22262226
scalar memory operations performed by waves executing in different work-groups
22272227
(which may be executing on different CUs) of an agent can be reordered
22282228
relative to each other. A ``s_waitcnt vmcnt(0)`` is required to ensure
2229-
synchonization between vector memory operations of different CUs. It ensures a
2229+
synchronization between vector memory operations of different CUs. It ensures a
22302230
previous vector memory operation has completed before executing a subsequent
22312231
vector memory or LDS operation and so can be used to meet the requirements of
22322232
acquire and release.
@@ -2268,7 +2268,7 @@ and vector L1 caches are invalidated between kernel dispatches by CP since
22682268
constant address space data may change between kernel dispatch executions. See
22692269
:ref:`amdgpu-amdhsa-memory-spaces`.
22702270

2271-
The one exeception is if scalar writes are used to spill SGPR registers. In this
2271+
The one execption is if scalar writes are used to spill SGPR registers. In this
22722272
case the AMDGPU backend ensures the memory location used to spill is never
22732273
accessed by vector memory operations at the same time. If scalar writes are used
22742274
then a ``s_dcache_wb`` is inserted before the ``s_endpgm`` and before a function
@@ -3310,7 +3310,7 @@ table
33103310
be moved before the acquire.
33113311
- If a fence then same as load atomic, plus no preceding
33123312
associated fence-paired-atomic can be moved after the fence.
3313-
release - If a store atomic/atomicrmw then no preceeding load/load
3313+
release - If a store atomic/atomicrmw then no preceding load/load
33143314
atomic/store/ store atomic/atomicrmw/fence instruction can
33153315
be moved after the release.
33163316
- If a fence then same as store atomic, plus no following

llvm/docs/Proposals/VectorizationPlan.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Vectorization Workflow
2727
VPlan-based vectorization involves three major steps, taking a "scenario-based
2828
approach" to vectorization planning:
2929

30-
1. Legal Step: check if a loop can be legally vectorized; encode contraints and
30+
1. Legal Step: check if a loop can be legally vectorized; encode constraints and
3131
artifacts if so.
3232
2. Plan Step:
3333

llvm/docs/XRay.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ variable, where we list down the options and their defaults below.
150150
| xray_logfile_base | ``const char*`` | ``xray-log.`` | Filename base for the |
151151
| | | | XRay logfile. |
152152
+-------------------+-----------------+---------------+------------------------+
153-
| xray_fdr_log | ``bool`` | ``false`` | Wheter to install the |
153+
| xray_fdr_log | ``bool`` | ``false`` | Whether to install the |
154154
| | | | Flight Data Recorder |
155155
| | | | (FDR) mode. |
156156
+-------------------+-----------------+---------------+------------------------+

0 commit comments

Comments
 (0)