summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-04-05 19:52:38 +0000
committerTobias Grosser <tobias@grosser.es>2015-04-05 19:52:38 +0000
commit51b7298fa860742cb7d005df934224567f079184 (patch)
tree9da18c00db38f6b4a7757a0c37ae7fc1eec18fed
parent67e6a5499cb0951386de01576f372841df8c6c69 (diff)
downloadbcm5719-llvm-51b7298fa860742cb7d005df934224567f079184.tar.gz
bcm5719-llvm-51b7298fa860742cb7d005df934224567f079184.zip
Adjust documentation to old -enable-polly-openmp -> -polly-parallel rename
Reported-by: Tomofumi Yuki <tomofumi.yuki@gmail.com> llvm-svn: 234124
-rw-r--r--polly/www/example_load_Polly_into_clang.html4
-rw-r--r--polly/www/example_manual_matmul.html2
-rwxr-xr-xpolly/www/experiments/matmul/runall.sh2
3 files changed, 4 insertions, 4 deletions
diff --git a/polly/www/example_load_Polly_into_clang.html b/polly/www/example_load_Polly_into_clang.html
index a43e5bffeed..629f1e67c06 100644
--- a/polly/www/example_load_Polly_into_clang.html
+++ b/polly/www/example_load_Polly_into_clang.html
@@ -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>
diff --git a/polly/www/example_manual_matmul.html b/polly/www/example_manual_matmul.html
index 5aa5934d2c3..808189ab4ac 100644
--- a/polly/www/example_manual_matmul.html
+++ b/polly/www/example_manual_matmul.html
@@ -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
diff --git a/polly/www/experiments/matmul/runall.sh b/polly/www/experiments/matmul/runall.sh
index 77ef6b4dd3d..81b921ee7ca 100755
--- a/polly/www/experiments/matmul/runall.sh
+++ b/polly/www/experiments/matmul/runall.sh
@@ -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
OpenPOWER on IntegriCloud