[llvm] r182197 - docs/Passes: fix some typos

Dmitri Gribenko gribozavr at gmail.com
Sat May 18 11:01:45 PDT 2013


Author: gribozavr
Date: Sat May 18 13:01:44 2013
New Revision: 182197

URL: http://llvm.org/viewvc/llvm-project?rev=182197&view=rev
Log:
docs/Passes: fix some typos

Patch by Yacine Belkadi.

Modified:
    llvm/trunk/docs/Passes.rst

Modified: llvm/trunk/docs/Passes.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Passes.rst?rev=182197&r1=182196&r2=182197&view=diff
==============================================================================
--- llvm/trunk/docs/Passes.rst (original)
+++ llvm/trunk/docs/Passes.rst Sat May 18 13:01:44 2013
@@ -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
 ---------------------------------------------------------





More information about the llvm-commits mailing list