Skip to content

Commit ea0ecd6

Browse files
[llvm] Proofread *.rst (#168254)
This patch is limited to hyphenation to ease the review process.
1 parent 7262c59 commit ea0ecd6

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

llvm/docs/AMDGPUUsage.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18986,8 +18986,8 @@ On entry to a function:
1898618986
objects and to convert this address to a flat address by adding the flat
1898718987
scratch aperture base address.
1898818988

18989-
The swizzled SP value is always 4 bytes aligned for the ``r600``
18990-
architecture and 16 byte aligned for the ``amdgcn`` architecture.
18989+
The swizzled SP value is always 4-byte aligned for the ``r600``
18990+
architecture and 16-byte aligned for the ``amdgcn`` architecture.
1899118991

1899218992
.. note::
1899318993

@@ -19278,7 +19278,7 @@ describes how the AMDGPU implements function calls:
1927819278
The CFI will reflect the changed calculation needed to compute the CFA
1927919279
from SP.
1928019280

19281-
7. 4 byte spill slots are used in the stack frame. One slot is allocated for an
19281+
7. 4-byte spill slots are used in the stack frame. One slot is allocated for an
1928219282
emergency spill slot. Buffer instructions are used for stack accesses and
1928319283
not the ``flat_scratch`` instruction.
1928419284

llvm/docs/CodeGenerator.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ Each register in the processor description has an associated
269269
indicate whether one register overlaps with another).
270270

271271
In addition to the per-register description, the ``TargetRegisterInfo`` class
272-
exposes a set of processor specific register classes (instances of the
272+
exposes a set of processor-specific register classes (instances of the
273273
``TargetRegisterClass`` class). Each register class contains sets of registers
274274
that have the same properties (for example, they are all 32-bit integer
275275
registers). Each SSA virtual register created by the instruction selector has
@@ -1295,7 +1295,7 @@ Physical registers, in LLVM, are grouped in *Register Classes*. Elements in the
12951295
same register class are functionally equivalent, and can be interchangeably
12961296
used. Each virtual register can only be mapped to physical registers of a
12971297
particular class. For instance, in the X86 architecture, some virtuals can only
1298-
be allocated to 8 bit registers. A register class is described by
1298+
be allocated to 8-bit registers. A register class is described by
12991299
``TargetRegisterClass`` objects. To discover if a virtual register is
13001300
compatible with a given physical, this code can be used:
13011301

llvm/docs/CommandLine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ specify boolean properties that modify the option.
12621262
.. _cl::DefaultOption:
12631263

12641264
* The **cl::DefaultOption** modifier is used to specify that the option is a
1265-
default that can be overridden by application specific parsers. For example,
1265+
default that can be overridden by application-specific parsers. For example,
12661266
the ``-help`` alias, ``-h``, is registered this way, so it can be overridden
12671267
by applications that need to use the ``-h`` option for another purpose,
12681268
either as a regular option or an alias for another option.

llvm/docs/LangRef.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ correctly in a target-specific way.
691691

692692
An example of pointers with non-address bits are the AMDGPU buffer descriptors
693693
which are 160 bits: a 128-bit fat pointer and a 32-bit offset.
694-
Similarly, CHERI capabilities contain a 32 or 64 bit address as well as the
694+
Similarly, CHERI capabilities contain a 32- or 64-bit address as well as the
695695
same number of metadata bits, but unlike the AMDGPU buffer descriptors they have
696696
external state in addition to non-address bits.
697697

@@ -19600,7 +19600,7 @@ Syntax:
1960019600
Overview:
1960119601
"""""""""
1960219602

19603-
The '``llvm.canonicalize.*``' intrinsic returns the platform specific canonical
19603+
The '``llvm.canonicalize.*``' intrinsic returns the platform-specific canonical
1960419604
encoding of a floating-point number. This canonicalization is useful for
1960519605
implementing certain numeric primitives such as frexp. The canonical encoding is
1960619606
defined by IEEE-754-2008 to be:

llvm/docs/SPIRVUsage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Below is a list of supported SPIR-V extensions, sorted alphabetically by their e
216216
* - ``SPV_KHR_float_controls``
217217
- Provides new execution modes to control floating-point computations by overriding an implementation’s default behavior for rounding modes, denormals, signed zero, and infinities.
218218
* - ``SPV_KHR_integer_dot_product``
219-
- Adds instructions for dot product operations on integer vectors with optional accumulation. Integer vectors includes 4-component vector of 8 bit integers and 4-component vectors of 8 bit integers packed into 32-bit integers.
219+
- Adds instructions for dot product operations on integer vectors with optional accumulation. Integer vectors includes 4-component vector of 8-bit integers and 4-component vectors of 8-bit integers packed into 32-bit integers.
220220
* - ``SPV_KHR_linkonce_odr``
221221
- Allows to use the LinkOnceODR linkage type that lets a function or global variable to be merged with other functions or global variables of the same name when linkage occurs.
222222
* - ``SPV_KHR_no_integer_wrap_decoration``

llvm/docs/XRayFDRFormat.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,14 +147,14 @@ reconstruct a call stack of instrumented function and their durations.
147147
+---------------+--------------+-----------------------------------------------+
148148

149149
On little-endian machines, the bitfields are ordered from least significant bit
150-
bit to most significant bit. A reader can read an 8 bit value and apply the mask
150+
bit to most significant bit. A reader can read an 8-bit value and apply the mask
151151
``0x01`` for the discriminant. Similarly, they can read 32 bits and unsigned
152152
shift right by ``0x04`` to obtain the function_id field.
153153

154154
On big-endian machine, the bitfields are written in order from most significant
155-
bit to least significant bit. A reader would read an 8 bit value and unsigned
155+
bit to least significant bit. A reader would read an 8-bit value and unsigned
156156
shift right by 7 bits for the discriminant. The function_id field could be
157-
obtained by reading a 32 bit value and applying the mask ``0x0FFFFFFF``.
157+
obtained by reading a 32-bit value and applying the mask ``0x0FFFFFFF``.
158158

159159
Function action types are as follows.
160160

@@ -288,11 +288,11 @@ Its data segment is as follows.
288288
TSCWrap Records
289289
---------------
290290

291-
Since each function record uses a 32 bit value to represent the number of ticks
291+
Since each function record uses a 32-bit value to represent the number of ticks
292292
of the timestamp counter since the last reference, it is possible for this value
293293
to overflow, particularly for sparsely instrumented binaries.
294294

295-
When this delta would not fit into a 32 bit representation, a reference absolute
295+
When this delta would not fit into a 32-bit representation, a reference absolute
296296
timestamp counter record is written in the form of a TSCWrap record.
297297

298298
Its data segment is as follows.

0 commit comments

Comments
 (0)