aboutsummaryrefslogtreecommitdiff
path: root/docs/Passes.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Passes.rst')
-rw-r--r--docs/Passes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/Passes.rst b/docs/Passes.rst
index 9cb8ba0c34..d279eca3af 100644
--- a/docs/Passes.rst
+++ b/docs/Passes.rst
@@ -1018,8 +1018,8 @@ possible, it transforms the individual ``alloca`` instructions into nice clean
scalar SSA form.
This combines a simple scalar replacement of aggregates algorithm with the
-:ref:`mem2reg <passes-mem2reg>` algorithm because often interact, especially
-for C++ programs. As such, iterating between ``scalarrepl``, then
+:ref:`mem2reg <passes-mem2reg>` algorithm because they often interact,
+especially for C++ programs. As such, iterating between ``scalarrepl``, then
:ref:`mem2reg <passes-mem2reg>` until we run out of things to promote works
well.