Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions llvm/docs/AMDGPUUsage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2690,7 +2690,7 @@ are deprecated and should not be used.
``vendor_name_size`` and ``architecture_name_size`` are the length of the
vendor and architecture names respectively, including the NUL character.

``vendor_and_architecture_name`` contains the NUL terminates string for the
``vendor_and_architecture_name`` contains the NUL terminated string for the
vendor, immediately followed by the NUL terminated string for the
architecture.

Expand Down Expand Up @@ -3382,7 +3382,7 @@ location.

If the lane is inactive, but was active on entry to the subprogram, then this is
the program location in the subprogram at which execution of the lane is
conceptual positioned.
conceptually positioned.

If the lane was not active on entry to the subprogram, then this will be the
undefined location. A client debugger can check if the lane is part of a valid
Expand Down Expand Up @@ -4754,7 +4754,7 @@ same *vendor-name*.
"image", or "pipe". This may be
more restrictive than indicated
by ".access" to reflect what the
kernel actual does. If not
kernel actually does. If not
present then the runtime must
assume what is implied by
".access" and ".is_const" . Values
Expand Down Expand Up @@ -5133,7 +5133,7 @@ supported except by flat and scratch instructions in GFX9-GFX11.

The generic address space uses the hardware flat address support available in
GFX7-GFX11. This uses two fixed ranges of virtual addresses (the private and
local apertures), that are outside the range of addressible global memory, to
local apertures), that are outside the range of addressable global memory, to
map from a flat address to a private or local address.

FLAT instructions can take a flat address and access global, private (scratch)
Expand Down Expand Up @@ -6586,7 +6586,7 @@ Acquire memory ordering is not meaningful on store atomic instructions and is
treated as non-atomic.

Release memory ordering is not meaningful on load atomic instructions and is
treated a non-atomic.
treated as non-atomic.

Acquire-release memory ordering is not meaningful on load or store atomic
instructions and is treated as acquire and release respectively.
Expand Down
2 changes: 1 addition & 1 deletion llvm/docs/AddingConstrainedIntrinsics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ node ``FADD`` must be ``STRICT_FADD``.
Update mappings
===============

Add new record to the mapping of instructions to constrained intrinsic and
Add new record to the mapping of instructions to constrained intrinsics and
DAG nodes::

include/llvm/IR/ConstrainedOps.def
Expand Down
2 changes: 1 addition & 1 deletion llvm/docs/Atomics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ operations:
MemoryDependencyAnalysis (which is also used by other passes like GVN).

* Folding a load: Any atomic load from a constant global can be constant-folded,
because it cannot be observed. Similar reasoning allows sroa with
because it cannot be observed. Similar reasoning allows SROA with
atomic loads and stores.

Atomics and Codegen
Expand Down
4 changes: 2 additions & 2 deletions llvm/docs/BranchWeightMetadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ The second weight is optional and corresponds to the unwind branch.
If only one weight is set, then it contains the execution count of the call
and used in SamplePGO mode only as described for the call instruction. If both
weights are specified then the second weight contains the count of unwind branch
taken and the first weights contains the execution count of the call minus
taken and the first weight contains the execution count of the call minus
the count of unwind branch taken. Both weights specified are used to calculate
BranchProbability as for BranchInst and for SamplePGO the sum of both weights
is used.
Expand Down Expand Up @@ -223,7 +223,7 @@ indicates that it was called 2,590 times at runtime.
!1 = !{!"function_entry_count", i64 2590}
If "function_entry_count" has more than 2 operands, the subsequent operands are
the GUID of the functions that needs to be imported by ThinLTO. This is only
the GUID of the functions that need to be imported by ThinLTO. This is only
set by sampling-based profile. It is needed because the sampling-based profile
was collected on a binary that had already imported and inlined these functions,
and we need to ensure the IR matches in the ThinLTO backends for profile
Expand Down
2 changes: 1 addition & 1 deletion llvm/docs/CIBestPractices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ for LLVM infrastructure.
Using Fully Qualified Container Names
-------------------------------------

When referencing container images from a registry, such as in Github Actions
When referencing container images from a registry, such as in GitHub Actions
workflows, or in ``Dockerfile`` files used for building images, prefer fully
qualified names (i.e., including the registry domain) over just the image.
For example, prefer ``docker.io/ubuntu:24.04`` over ``ubuntu:24.04``. This
Expand Down
4 changes: 2 additions & 2 deletions llvm/docs/CompileCudaWithLLVM.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ CUDA installation on a handful of common Linux distributions, but in general the
most reliable way to make it work is to install CUDA in a single directory from
NVIDIA's `.run` package and specify its location via `--cuda-path=...` argument.

CUDA compilation is supported on Linux. Compilation on MacOS and Windows may or
CUDA compilation is supported on Linux. Compilation on macOS and Windows may or
may not work and currently have no maintainers.

Invoking clang
Expand Down Expand Up @@ -64,7 +64,7 @@ brackets as described below:
y[2] = 6
y[3] = 8

On MacOS, replace `-lcudart_static` with `-lcudart`; otherwise, you may get
On macOS, replace `-lcudart_static` with `-lcudart`; otherwise, you may get
"CUDA driver version is insufficient for CUDA runtime version" errors when you
run your program.

Expand Down
12 changes: 6 additions & 6 deletions llvm/docs/Coroutines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Values live across a suspend point need to be stored in the coroutine frame to
be available in the continuation function. This frame is stored as a tail to the
`async context`.

Every suspend point takes an `context projection function` argument which
Every suspend point takes a `context projection function` argument which
describes how-to obtain the continuations `async context` and every suspend
point has an associated `resume function` denoted by the
`llvm.coro.async.resume` intrinsic. The coroutine is resumed by calling this
Expand Down Expand Up @@ -221,7 +221,7 @@ a parameter to the `llvm.coro.suspend.async` intrinsic.
ptr %resume_func_ptr,
ptr %context_projection_function

The frontend should provide a `async function pointer` struct associated with
The frontend should provide an `async function pointer` struct associated with
each async coroutine by `llvm.coro.id.async`'s argument. The initial size and
alignment of the `async context` must be provided as arguments to the
`llvm.coro.id.async` intrinsic. Lowering will update the size entry with the
Expand Down Expand Up @@ -314,7 +314,7 @@ coroutine handle. The second parameter of `coro.begin` is given a block of memor
to be used if the coroutine frame needs to be allocated dynamically.

The `coro.id`_ intrinsic serves as coroutine identity useful in cases when the
`coro.begin`_ intrinsic get duplicated by optimization passes such as
`coro.begin`_ intrinsic gets duplicated by optimization passes such as
jump-threading.

The `cleanup` block destroys the coroutine frame. The `coro.free`_ intrinsic,
Expand Down Expand Up @@ -2149,7 +2149,7 @@ CoroEarly
The CoroEarly pass ensures later middle end passes correctly interpret coroutine
semantics and lowers coroutine intrinsics that not needed to be preserved to
help later coroutine passes. This pass lowers `coro.promise`_, `coro.frame`_ and
`coro.done`_ intrinsics. Afterwards, it replace uses of promise alloca with
`coro.done`_ intrinsics. Afterwards, it replaces uses of promise alloca with
`coro.promise`_ intrinsic.

.. _CoroSplit:
Expand Down Expand Up @@ -2188,7 +2188,7 @@ Attributes
coro_only_destroy_when_complete
-------------------------------

When the coroutine are marked with coro_only_destroy_when_complete, it indicates
When the coroutine is marked with coro_only_destroy_when_complete, it indicates
the coroutine must reach the final suspend point when it get destroyed.

This attribute only works for switched-resume coroutines now.
Expand All @@ -2199,7 +2199,7 @@ coro_elide_safe
When a Call or Invoke instruction to switch ABI coroutine `f` is marked with
`coro_elide_safe`, CoroSplitPass generates a `f.noalloc` ramp function.
`f.noalloc` has one more argument than its original ramp function `f`, which is
the pointer to the allocated frame. `f.noalloc` also suppressed any allocations
the pointer to the allocated frame. `f.noalloc` also suppresses any allocations
or deallocations that may be guarded by `@llvm.coro.alloc` and `@llvm.coro.free`.

CoroAnnotationElidePass performs the heap elision when possible. Note that for
Expand Down
4 changes: 2 additions & 2 deletions llvm/docs/Docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ to fill out in order to produce Dockerfiles for a new docker image.
Why?
----
Docker images provide a way to produce binary distributions of
software inside a controlled environment. Having Dockerfiles to builds docker images
software inside a controlled environment. Having Dockerfiles to build docker images
inside LLVM repo makes them much more discoverable than putting them into any other
place.

Expand All @@ -35,7 +35,7 @@ A snapshot of a docker container filesystem is called a *docker image*.
One can start a container from a prebuilt docker image.

Docker images are built from a so-called *Dockerfile*, a source file written in
a specialized language that defines instructions to be used when build
a specialized language that defines instructions to be used when building
the docker image (see `official
documentation <https://docs.docker.com/engine/reference/builder/>`_ for more
details). A minimal Dockerfile typically contains a base image and a number
Expand Down
4 changes: 2 additions & 2 deletions llvm/docs/Extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ emission of Variable Length Arrays (VLAs).
The Windows ARM Itanium ABI extends the base ABI by adding support for emitting
a dynamic stack allocation. When emitting a variable stack allocation, a call
to ``__chkstk`` is emitted unconditionally to ensure that guard pages are setup
properly. The emission of this stack probe emission is handled similar to the
properly. The emission of this stack probe emission is handled similarly to the
standard stack probe emission.

The MSVC environment does not emit code for VLAs currently.
Expand All @@ -813,7 +813,7 @@ in the following fashion:
sub sp, sp, x15, lsl #4

However, this has the limitation of 256 MiB (±128MiB). In order to accommodate
larger binaries, LLVM supports the use of ``-mcmodel=large`` to allow a 8GiB
larger binaries, LLVM supports the use of ``-mcmodel=large`` to allow an 8GiB
(±4GiB) range via a slight deviation. It will generate an indirect jump as
follows:

Expand Down
2 changes: 1 addition & 1 deletion llvm/docs/FatLTO.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ This pipeline will:

Previously, we conservatively ran independent pipelines on separate copies
of the LLVM module to generate the bitcode section and the object code,
which happen to be identical to those used outside of FatLTO. While that
which happened to be identical to those used outside of FatLTO. While that
resulted in compiled artifacts that were identical to those produced by the
default and (Thin)LTO pipelines, module cloning led to some cases of
miscompilation, and we have moved away from trying to keep bitcode
Expand Down
4 changes: 2 additions & 2 deletions llvm/docs/FaultMaps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ FaultMaps and implicit checks
Motivation
==========

Code generated by managed language runtimes tend to have checks that
Code generated by managed language runtimes tends to have checks that
are required for safety but never fail in practice. In such cases, it
is profitable to make the non-failing case cheaper even if it makes
the failing case significantly more expensive. This asymmetry can be
Expand All @@ -28,7 +28,7 @@ the same memory location.
The Fault Map Section
=====================

Information about implicit checks generated by LLVM are put in a
Information about implicit checks generated by LLVM is put in a
special "fault map" section. On Darwin this section is named
``__llvm_faultmaps``.

Expand Down
2 changes: 1 addition & 1 deletion llvm/docs/GarbageCollection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ The 'Erlang' and 'OCaml' GCs
LLVM ships with two example collectors which leverage the ``gcroot``
mechanisms. To our knowledge, these are not actually used by any language
runtime, but they do provide a reasonable starting point for someone interested
in writing an ``gcroot`` compatible GC plugin. In particular, these are the
in writing a ``gcroot`` compatible GC plugin. In particular, these are the
only in-tree examples of how to produce a custom binary stack map format using
a ``gcroot`` strategy.

Expand Down
4 changes: 2 additions & 2 deletions llvm/docs/GetElementPtr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -496,10 +496,10 @@ primitive integer expressions, which allows them to be combined with other
integer expressions and/or split into multiple separate integer expressions. If
they've made non-trivial changes, translating back into LLVM IR can involve
reverse-engineering the structure of the addressing in order to fit it into the
static type of the original first operand. It isn't always possibly to fully
static type of the original first operand. It isn't always possible to fully
reconstruct this structure; sometimes the underlying addressing doesn't
correspond with the static type at all. In such cases the optimizer instead will
emit a GEP with the base pointer casted to a simple address-unit pointer, using
emit a GEP with the base pointer cast to a simple address-unit pointer, using
the name "uglygep". This isn't pretty, but it's just as valid, and it's
sufficient to preserve the pointer aliasing guarantees that GEP provides.

Expand Down
2 changes: 1 addition & 1 deletion llvm/docs/GettingInvolved.rst
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ An example invite looks as follows
.. code-block:: none

This event is a meetup for all developers of LLDB. Meeting agendas are posted
on discourse before the event.
on Discourse before the event.

Attendees must adhere to the LLVM Code of Conduct
(https://llvm.org/docs/CodeOfConduct.html). For any Code of Conduct reports,
Expand Down
2 changes: 1 addition & 1 deletion llvm/docs/GettingStartedVS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ Build the LLVM Suite:
* The Fibonacci project is a sample program that uses the JIT. Modify the
project's debugging properties to provide a numeric command-line argument
or run it from the command line. The program will print the
corresponding fibonacci value.
corresponding Fibonacci value.


Links
Expand Down
2 changes: 1 addition & 1 deletion llvm/docs/GwpAsan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Unlike `AddressSanitizer <https://clang.llvm.org/docs/AddressSanitizer.html>`_,
GWP-ASan does not induce a significant performance overhead. ASan often requires
the use of dedicated canaries to be viable in production environments, and as
such is often impractical. Moreover, ASan's runtime is not developed with
security consideration in mind, making compiled binaries more vulnerable to
security considerations in mind, making compiled binaries more vulnerable to
exploits.

However, GWP-ASan is only capable of finding a subset of the memory issues
Expand Down
2 changes: 1 addition & 1 deletion llvm/docs/HowToBuildWindowsItaniumPrograms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Introduction
This document contains information describing how to create a Windows Itanium toolchain.

Windows Itanium allows you to deploy Itanium C++ ABI applications on top of the MS VS CRT.
This environment can use the Windows SDK headers directly and does not required additional
This environment can use the Windows SDK headers directly and does not require additional
headers or additional runtime machinery (such as is used by mingw).

Windows Itanium Stack:
Expand Down
Loading