[llvm] e334a3a - [docs] NFC: Fix typos in documents

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 07:09:15 PST 2020


Author: Hans Wennborg
Date: 2020-01-07T16:06:14+01:00
New Revision: e334a3a60f1161e11191ddcc1ba2b16b08db03bd

URL: https://github.com/llvm/llvm-project/commit/e334a3a60f1161e11191ddcc1ba2b16b08db03bd
DIFF: https://github.com/llvm/llvm-project/commit/e334a3a60f1161e11191ddcc1ba2b16b08db03bd.diff

LOG: [docs] NFC: Fix typos in documents

"the the" -> "the"
"an" -> "a"

Patch by Kazuaki Ishizaki <ishizaki at jp.ibm.com>!

Differential revision: https://reviews.llvm.org/D72091

Added: 
    

Modified: 
    llvm/docs/AMDGPUUsage.rst
    llvm/docs/Atomics.rst
    llvm/docs/Frontend/PerformanceTips.rst
    llvm/docs/GlobalISel/GenericOpcode.rst
    llvm/docs/HowToBuildWithPGO.rst
    llvm/docs/LangRef.rst
    llvm/docs/ORCv2.rst
    llvm/docs/Passes.rst
    llvm/docs/SourceLevelDebugging.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/AMDGPUUsage.rst b/llvm/docs/AMDGPUUsage.rst
index d9c64fd83a19..c153363b89e7 100644
--- a/llvm/docs/AMDGPUUsage.rst
+++ b/llvm/docs/AMDGPUUsage.rst
@@ -1708,7 +1708,7 @@ tables.
 
 Additional information can be added to the maps. To avoid conflicts,
 any key names should be prefixed by "*vendor-name*." where
-``vendor-name`` can be the the name of the vendor and specific vendor
+``vendor-name`` can be the name of the vendor and specific vendor
 tool that generates the information. The prefix is abbreviated to
 simply "." when it appears within a map that has been added by the
 same *vendor-name*.

diff  --git a/llvm/docs/Atomics.rst b/llvm/docs/Atomics.rst
index e6c000057b51..00f29c285b3f 100644
--- a/llvm/docs/Atomics.rst
+++ b/llvm/docs/Atomics.rst
@@ -292,7 +292,7 @@ Notes for frontends
 Notes for optimizers
   Optimizers not aware of atomics can treat this like a nothrow call.  It is
   also possible to move loads from after a Release store or read-modify-write
-  operation to before it, and move non-Release stores from after an Release
+  operation to before it, and move non-Release stores from after a Release
   operation to before it.
 
 Notes for code generation

diff  --git a/llvm/docs/Frontend/PerformanceTips.rst b/llvm/docs/Frontend/PerformanceTips.rst
index 749fbd808587..f0f63f3f9d6b 100644
--- a/llvm/docs/Frontend/PerformanceTips.rst
+++ b/llvm/docs/Frontend/PerformanceTips.rst
@@ -270,7 +270,7 @@ couple specific suggestions:
 I Still Can't Find What I'm Looking For
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-If you didn't find what you were looking for above, consider proposing an piece
+If you didn't find what you were looking for above, consider proposing a piece
 of metadata which provides the optimization hint you need.  Such extensions are
 relatively common and are generally well received by the community.  You will
 need to ensure that your proposal is sufficiently general so that it benefits

diff  --git a/llvm/docs/GlobalISel/GenericOpcode.rst b/llvm/docs/GlobalISel/GenericOpcode.rst
index 8824eb8171f5..5cc1023db235 100644
--- a/llvm/docs/GlobalISel/GenericOpcode.rst
+++ b/llvm/docs/GlobalISel/GenericOpcode.rst
@@ -143,7 +143,7 @@ Convert an integer to a pointer.
 G_PTRTOINT
 ^^^^^^^^^^
 
-Convert an pointer to an integer.
+Convert a pointer to an integer.
 
 .. code-block:: none
 

diff  --git a/llvm/docs/HowToBuildWithPGO.rst b/llvm/docs/HowToBuildWithPGO.rst
index 77867dbc1d5d..a1f387745474 100644
--- a/llvm/docs/HowToBuildWithPGO.rst
+++ b/llvm/docs/HowToBuildWithPGO.rst
@@ -18,7 +18,7 @@ Using the script
 
 We have a script at ``utils/collect_and_build_with_pgo.py``. This script is
 tested on a few Linux flavors, and requires a checkout of LLVM, Clang, and
-compiler-rt. Despite the the name, it performs four clean builds of Clang, so it
+compiler-rt. Despite the name, it performs four clean builds of Clang, so it
 can take a while to run to completion. Please see the script's ``--help`` for
 more information on how to run it, and the 
diff erent options available to you.
 If you want to get the most out of PGO for a particular use-case (e.g. compiling

diff  --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 9bc5f4285a7f..97e454e5e538 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -10308,7 +10308,7 @@ This instruction requires several arguments:
    #. If the musttail call appears in a function with the ``"thunk"`` attribute
       and the caller and callee both have varargs, than any unprototyped
       arguments in register or memory are forwarded to the callee. Similarly,
-      the return value of the callee is returned the the caller's caller, even
+      the return value of the callee is returned to the caller's caller, even
       if a void return type is in use.
 
    Both markers imply that the callee does not access allocas from the caller.

diff  --git a/llvm/docs/ORCv2.rst b/llvm/docs/ORCv2.rst
index 0a8788a6b3a5..049dd8b348cd 100644
--- a/llvm/docs/ORCv2.rst
+++ b/llvm/docs/ORCv2.rst
@@ -40,7 +40,7 @@ Features
 ORC provides the following features:
 
 - *JIT-linking* links relocatable object files (COFF, ELF, MachO) [1]_ into a
-  target process an runtime. The target process may be the same process that
+  target process at runtime. The target process may be the same process that
   contains the JIT session object and jit-linker, or may be another process
   (even one running on a 
diff erent machine or architecture) that communicates
   with the JIT via RPC.
@@ -97,7 +97,7 @@ JIT API.
 
 LLJIT and LLLazyJIT instances can be created using their respective builder
 classes: LLJITBuilder and LLazyJITBuilder. For example, assuming you have a
-module ``M`` loaded on an ThreadSafeContext ``Ctx``:
+module ``M`` loaded on a ThreadSafeContext ``Ctx``:
 
 .. code-block:: c++
 

diff  --git a/llvm/docs/Passes.rst b/llvm/docs/Passes.rst
index 81bd8acfc2da..7a90d189c991 100644
--- a/llvm/docs/Passes.rst
+++ b/llvm/docs/Passes.rst
@@ -329,7 +329,7 @@ table.
 
 The ``RegionInfo`` pass detects single entry single exit regions in a function,
 where a region is defined as any subgraph that is connected to the remaining
-graph at only two spots.  Furthermore, an hierarchical region tree is built.
+graph at only two spots.  Furthermore, a hierarchical region tree is built.
 
 ``-scalar-evolution``: Scalar Evolution Analysis
 ------------------------------------------------

diff  --git a/llvm/docs/SourceLevelDebugging.rst b/llvm/docs/SourceLevelDebugging.rst
index 965f1c81caf5..f6db104a0755 100644
--- a/llvm/docs/SourceLevelDebugging.rst
+++ b/llvm/docs/SourceLevelDebugging.rst
@@ -471,7 +471,7 @@ perhaps, be optimized into the following code:
   }
 
 What ``llvm.dbg.value`` intrinsics should be placed to represent the original variable
-locations in this code? Unfortunately the the second, third and fourth
+locations in this code? Unfortunately the second, third and fourth
 dbg.values for ``!1`` in the source function have had their operands
 (%tval, %fval, %merge) optimized out. Assuming we cannot recover them, we
 might consider this placement of dbg.values:


        


More information about the llvm-commits mailing list