[llvm-commits] [llvm] r170568 - /llvm/trunk/docs/Vectorizers.rst
Nadav Rotem
nrotem at apple.com
Wed Dec 19 10:04:44 PST 2012
Author: nadav
Date: Wed Dec 19 12:04:44 2012
New Revision: 170568
URL: http://llvm.org/viewvc/llvm-project?rev=170568&view=rev
Log:
doc: add subsections.
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=170568&r1=170567&r2=170568&view=diff
==============================================================================
--- llvm/trunk/docs/Vectorizers.rst (original)
+++ llvm/trunk/docs/Vectorizers.rst Wed Dec 19 12:04:44 2012
@@ -12,6 +12,9 @@
The Loop Vectorizer
===================
+Usage
+^^^^^^
+
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:
@@ -208,6 +211,9 @@
The Basic Block Vectorizer
==========================
+Usage
+^^^^^^
+
The Basic Block Vectorizer is not enabled by default, but it can be enabled
through clang using the command line flag:
@@ -215,6 +221,9 @@
$ clang -fslp-vectorize file.c
+Details
+^^^^^^^
+
The goal of basic-block vectorization (a.k.a. superword-level parallelism) is
to combine similar independent instructions within simple control-flow regions
into vector instructions. Memory accesses, arithemetic operations, comparison
More information about the llvm-commits
mailing list