[llvm] e87aaaf - [LangRef] Minor editorial fixes (#137782)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 30 06:10:52 PDT 2025
Author: Kip Hamiltons
Date: 2025-04-30T15:10:48+02:00
New Revision: e87aaaf3274d721bf338012f5b299e65b0201fc5
URL: https://github.com/llvm/llvm-project/commit/e87aaaf3274d721bf338012f5b299e65b0201fc5
DIFF: https://github.com/llvm/llvm-project/commit/e87aaaf3274d721bf338012f5b299e65b0201fc5.diff
LOG: [LangRef] Minor editorial fixes (#137782)
Added:
Modified:
llvm/docs/LangRef.rst
Removed:
################################################################################
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 4aa81ad971729..1c1901be4d10e 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -159,7 +159,7 @@ There are two kinds of escapes.
* ``\\`` represents a single ``\`` character.
* ``\`` followed by two hexadecimal characters (0-9, a-f, or A-F)
- represents the byte with the given value (e.g. \x00 represents a
+ represents the byte with the given value (e.g. ``\00`` represents a
null byte).
To represent a ``"`` character, use ``\22``. (``\"`` will end the string
@@ -465,11 +465,11 @@ added in the future:
Non-general purpose registers still follow the standard c calling
convention. Currently it is for x86_64 and AArch64 only.
"``cxx_fast_tlscc``" - The `CXX_FAST_TLS` calling convention for access functions
- Clang generates an access function to access C++-style TLS. The access
- function generally has an entry block, an exit block and an initialization
- block that is run at the first time. The entry and exit blocks can access
- a few TLS IR variables, each access will be lowered to a platform-specific
- sequence.
+ Clang generates an access function to access C++-style Thread Local Storage
+ (TLS). The access function generally has an entry block, an exit block and an
+ initialization block that is run at the first time. The entry and exit blocks
+ can access a few TLS IR variables, each access will be lowered to a
+ platform-specific sequence.
This calling convention aims to minimize overhead in the caller by
preserving as many registers as possible (all the registers that are
@@ -727,7 +727,7 @@ optimizations based on the 'constantness' are valid for the translation
units that do not include the definition.
As SSA values, global variables define pointer values that are in scope
-(i.e. they dominate) all basic blocks in the program. Global variables
+for (i.e. they dominate) all basic blocks in the program. Global variables
always define a pointer to their "content" type because they describe a
region of memory, and all :ref:`allocated object<allocatedobjects>` in LLVM are
accessed through pointers.
More information about the llvm-commits
mailing list