1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

docs/Passes: fix some typos

Patch by Yacine Belkadi.

llvm-svn: 182197
This commit is contained in:
Dmitri Gribenko 2013-05-18 18:01:44 +00:00
parent 08711da7a1
commit fdcdaef7d6

View File

@ -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
---------------------------------------------------------