[llvm] Make some fixes to the LLVM Language Ref. (PR #137782)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 29 03:33:14 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-ir
Author: Kip Hamiltons (KipHamiltons)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/137782.diff
1 Files Affected:
- (modified) llvm/docs/LangRef.rst (+7-7)
``````````diff
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index a5df82895d839..6c65339d92b34 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.
``````````
</details>
https://github.com/llvm/llvm-project/pull/137782
More information about the llvm-commits
mailing list