summaryrefslogtreecommitdiff
path: root/docs/Vectorizers.rst
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2012-12-20 02:23:25 +0000
committerSean Silva <silvas@purdue.edu>2012-12-20 02:23:25 +0000
commit68d5b27b36e97e21e9aeedcfb56f5153f791dc85 (patch)
tree9a6e40f0a4d6da2aa5e786048d621bc9d7c94c0a /docs/Vectorizers.rst
parentd3071bb042303ed239e5c770fd4026bfc339fcd0 (diff)
downloadllvm-68d5b27b36e97e21e9aeedcfb56f5153f791dc85.tar.gz
llvm-68d5b27b36e97e21e9aeedcfb56f5153f791dc85.tar.bz2
llvm-68d5b27b36e97e21e9aeedcfb56f5153f791dc85.tar.xz
docs: ASCII-fy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/Vectorizers.rst')
-rw-r--r--docs/Vectorizers.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/Vectorizers.rst b/docs/Vectorizers.rst
index e49d44c1bb..98f1451d0d 100644
--- a/docs/Vectorizers.rst
+++ b/docs/Vectorizers.rst
@@ -15,7 +15,7 @@ The Loop Vectorizer
Usage
^^^^^^
-LLVM’s Loop Vectorizer is now available and will be useful for many people.
+LLVM's Loop Vectorizer is now available and will be useful for many people.
It is not enabled by default, but can be enabled through clang using the
command line flag:
@@ -41,7 +41,7 @@ Loops with unknown trip count
The Loop Vectorizer supports loops with an unknown trip count.
In the loop below, the iteration ``start`` and ``finish`` points are unknown,
and the Loop Vectorizer has a mechanism to vectorize loops that do not start
-at zero. In this example, ‘n’ may not be a multiple of the vector width, and
+at zero. In this example, 'n' may not be a multiple of the vector width, and
the vectorizer has to execute the last few iterations as scalar code. Keeping
a scalar copy of the loop increases the code size.
@@ -79,7 +79,7 @@ Reductions
In this example the ``sum`` variable is used by consecutive iterations of
the loop. Normally, this would prevent vectorization, but the vectorizer can
-detect that ‘sum’ is a reduction variable. The variable ‘sum’ becomes a vector
+detect that 'sum' is a reduction variable. The variable 'sum' becomes a vector
of integers, and at the end of the loop the elements of the array are added
together to create the correct result. We support a number of different
reduction operations, such as addition, multiplication, XOR, AND and OR.