From af08627af5e72a3f7e75ffacab9fe7b62d196608 Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Wed, 19 Dec 2012 07:36:35 +0000 Subject: [PATCH] docs: fix typos. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170504 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/Vectorizers.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/Vectorizers.rst b/docs/Vectorizers.rst index ab8a252951b..291c76dd265 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