summaryrefslogtreecommitdiffstats
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
commitd95ddb744f152f3ae64215823310142012c0d0d8 (patch)
tree19c6fab9ca5733c727fd8b0186f0bf35132466ff
parent488798094bb701528a072bf05f16ab947a770880 (diff)
downloadbcm5719-llvm-d95ddb744f152f3ae64215823310142012c0d0d8.tar.gz
bcm5719-llvm-d95ddb744f152f3ae64215823310142012c0d0d8.zip
docs/Passes: fix some typos
Patch by Yacine Belkadi. llvm-svn: 182197
-rw-r--r--llvm/docs/Passes.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/docs/Passes.rst b/llvm/docs/Passes.rst
index d279eca3afb..d30c3ca4a00 100644
--- a/llvm/docs/Passes.rst
+++ b/llvm/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
---------------------------------------------------------
OpenPOWER on IntegriCloud