Adjust documentation to old -enable-polly-openmp -> -polly-parallel rename

Reported-by: Tomofumi Yuki <tomofumi.yuki@gmail.com>
llvm-svn: 234124
This commit is contained in:
Tobias Grosser 2015-04-05 19:52:38 +00:00
parent 67e6a5499c
commit 51b7298fa8
3 changed files with 4 additions and 4 deletions

View File

@ -59,9 +59,9 @@ compiler flags (Polly is only available at -O3).
<h2>Automatic OpenMP code generation</h2>
To automatically detect parallel loops and generate OpenMP code for them you
also need to add <b>-mllvm -enable-polly-openmp -lgomp</b> to your CFLAGS.
also need to add <b>-mllvm -polly-parallel -lgomp</b> to your CFLAGS.
<pre class="code">pollycc -O3 -mllvm -polly -mllvm -enable-polly-openmp -lgomp file.c</pre>
<pre class="code">pollycc -O3 -mllvm -polly -mllvm -polly-parallel -lgomp file.c</pre>
<h2>Automatic Vector code generation</h2>

View File

@ -401,7 +401,7 @@ Reading JScop 'for.cond =&gt; for.end30' in function 'main' from
<pre class="code">
opt -basicaa \
-polly-import-jscop -polly-import-jscop-postfix=interchanged+tiled+vector \
-polly-codegen -polly-vectorizer=polly -enable-polly-openmp matmul.preopt.ll \
-polly-codegen -polly-vectorizer=polly -polly-parallel matmul.preopt.ll \
| opt -O3 &gt; matmul.polly.interchanged+tiled+openmp.ll</pre>
<pre>
Reading JScop 'for.cond =&gt; for.end19' in function 'init_array' from

View File

@ -60,7 +60,7 @@ opt -basicaa -polly-import-jscop \
| opt -O3 > matmul.polly.interchanged+tiled+vector.ll
opt -basicaa -polly-import-jscop \
-polly-import-jscop-postfix=interchanged+tiled+vector -polly-codegen \
matmul.preopt.ll -polly-vectorizer=polly -enable-polly-openmp\
matmul.preopt.ll -polly-vectorizer=polly -polly-parallel\
| opt -O3 > matmul.polly.interchanged+tiled+vector+openmp.ll
opt matmul.preopt.ll | opt -O3 > matmul.normalopt.ll