From 29d7255baf1564217aebad760ee08c2f509ad2c7 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Wed, 7 Mar 2012 14:30:54 +0000 Subject: [PATCH] www: Fix some command lines in the examples llvm-svn: 152229 --- polly/www/example_load_Polly_into_clang.html | 8 ++++---- 1 file 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 a98ef83d4d75..a148fafcbedb 100644 --- a/polly/www/example_load_Polly_into_clang.html +++ b/polly/www/example_load_Polly_into_clang.html @@ -50,14 +50,14 @@ compiler flags (Polly is only available at -O3). To automatically detect parallel loops and generate OpenMP code for them you also need to add -mllvm -enable-polly-openmp -lgomp to your CFLAGS. -
pollycc -O3 -mllvm -enable-polly-openmp -lgomp file.c
+
pollycc -O3 -mllvm -polly -mllvm -enable-polly-openmp -lgomp file.c

Automatic Vector code generation

Automatic vector code generation can be enabled by adding -mllvm -enable-polly-vector to your CFLAGS. -
pollycc -O3 -mllvm -enable-polly-vector file.c
+
pollycc -O3 -mllvm -polly -mllvm -enable-polly-vector file.c

Extract a preoptimized LLVM-IR file

@@ -101,13 +101,13 @@ contain. Polly automatically runs by default a polyhedral optimizer to optimize the schedules. -polly-no-optimizer disables this optimizer. -

Use the PoCC optimizer

+

Change the Polly optimizer

Polly uses by default the isl scheduling optimizer, a new implementation of the well known Pluto algorithm. The main reason for the isl scheduler being the default is that it does not require any additional libraries or tools to be installed. As the new scheduler may still have some bugs and because being able to compare is good in general, it is possible to switch the used optimizer -back to PoCC. For this add the option -polly-use-pocc. +back to PoCC. For this add the option -polly-optimizer=pocc.

Disable tiling in the optimizer

By default both optimizers perform tiling, if possible. In case this is not