summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-05-18 18:01:44 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-05-18 18:01:44 +0000
commitedc399acebc94cfa26b47a6d8d836e2e1a009420 (patch)
tree5532c51ad738b68fc3e7b990c1d6ba83ed60a0d5 /docs
parent769b70ec4f22129317631eab8c87bb5b0e45a4a5 (diff)
downloadllvm-edc399acebc94cfa26b47a6d8d836e2e1a009420.tar.gz
llvm-edc399acebc94cfa26b47a6d8d836e2e1a009420.tar.bz2
llvm-edc399acebc94cfa26b47a6d8d836e2e1a009420.tar.xz
docs/Passes: fix some typos
Patch by Yacine Belkadi. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/Passes.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/Passes.rst b/docs/Passes.rst
index d279eca3af..d30c3ca4a0 100644
--- a/docs/Passes.rst
+++ b/docs/Passes.rst
@@ -490,7 +490,7 @@ string is available.
``-constprop``: Simple constant propagation
-------------------------------------------
-This file implements constant propagation and merging. It looks for
+This pass implements constant propagation and merging. It looks for
instructions involving only constant operands and replaces them with a constant
value instead of an instruction. For example:
@@ -505,8 +505,8 @@ becomes
i32 3
NOTE: this pass has a habit of making definitions be dead. It is a good idea
-to to run a :ref:`Dead Instruction Elimination <passes-die>` pass sometime
-after running this pass.
+to run a :ref:`Dead Instruction Elimination <passes-die>` pass sometime after
+running this pass.
.. _passes-dce:
@@ -1037,7 +1037,7 @@ as:
* Proves conditional branches to be unconditional
Note that this pass has a habit of making definitions be dead. It is a good
-idea to to run a :ref:`DCE <passes-dce>` pass sometime after running this pass.
+idea to run a :ref:`DCE <passes-dce>` pass sometime after running this pass.
``-simplify-libcalls``: Simplify well-known library calls
---------------------------------------------------------