[llvm-commits] [llvm] r170637 - /llvm/trunk/docs/Vectorizers.rst
Sean Silva
silvas at purdue.edu
Wed Dec 19 18:23:25 PST 2012
Author: silvas
Date: Wed Dec 19 20:23:25 2012
New Revision: 170637
URL: http://llvm.org/viewvc/llvm-project?rev=170637&view=rev
Log:
docs: ASCII-fy
Modified:
llvm/trunk/docs/Vectorizers.rst
Modified: llvm/trunk/docs/Vectorizers.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Vectorizers.rst?rev=170637&r1=170636&r2=170637&view=diff
==============================================================================
--- llvm/trunk/docs/Vectorizers.rst (original)
+++ llvm/trunk/docs/Vectorizers.rst Wed Dec 19 20:23:25 2012
@@ -15,7 +15,7 @@
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 @@
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 @@
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.
More information about the llvm-commits
mailing list