aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Vectorizers.rst
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-12-19 07:36:35 +0000
committerNadav Rotem <nrotem@apple.com>2012-12-19 07:36:35 +0000
commitaf08627af5e72a3f7e75ffacab9fe7b62d196608 (patch)
treecd8c525b3956594cf9397e9583b54ad0161f7e35 /docs/Vectorizers.rst
parent59f2af9246a8681a620ad62b0f7365dd96e5173c (diff)
downloadexternal_llvm-af08627af5e72a3f7e75ffacab9fe7b62d196608.zip
external_llvm-af08627af5e72a3f7e75ffacab9fe7b62d196608.tar.gz
external_llvm-af08627af5e72a3f7e75ffacab9fe7b62d196608.tar.bz2
docs: fix typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170504 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/Vectorizers.rst')
-rw-r--r--docs/Vectorizers.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/Vectorizers.rst b/docs/Vectorizers.rst
index ab8a252..291c76d 100644
--- a/docs/Vectorizers.rst
+++ b/docs/Vectorizers.rst
@@ -118,7 +118,7 @@ nesting of IFs, ELSEs and even GOTOs.
}
Pointer Induction Variables
---------------------------
+---------------------------
This example uses the "accumulate" function of the standard c++ library. This
loop uses C++ iterators, which are pointers, and not integer indices.
@@ -144,10 +144,10 @@ The Loop Vectorizer can vectorize loops that count backwards.
}
Scatter / Gather
---------------------------
+----------------
-The Loop Vectorizer can generate code diverging memory indices that result in
-scatter/gather memory accesses.
+The Loop Vectorizer can vectorize code that becomes scatter/gather
+memory accesses.
.. code-block:: c++
@@ -156,7 +156,7 @@ scatter/gather memory accesses.
A[i*7] += B[i*k];
}
-Vectorization of programs with Mixed Types
+Vectorization of Mixed Types
--------------------------
The Loop Vectorizer can vectorize programs with mixed types. The Vectorizer