summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitaf14a3f20b5a7facebfa58e8ac87581b535747ce (patch)
treeb0d8e5b7f5d2bc39926cef88b09b8dcae9ebdafa /llvm/docs/Vectorizers.rst
parentc4efbb8b4eabac4349fd53036569b778399c344f (diff)
downloadbcm5719-llvm-af14a3f20b5a7facebfa58e8ac87581b535747ce.tar.gz
bcm5719-llvm-af14a3f20b5a7facebfa58e8ac87581b535747ce.zip
docs: fix typos.
llvm-svn: 170504
Diffstat (limited to 'llvm/docs/Vectorizers.rst')
-rw-r--r--llvm/docs/Vectorizers.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/docs/Vectorizers.rst b/llvm/docs/Vectorizers.rst
index ab8a252951b..291c76dd265 100644
--- a/llvm/docs/Vectorizers.rst
+++ b/llvm/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
OpenPOWER on IntegriCloud