forked from OSchip/llvm-project
52277852a4
We disable Polly by default and add a new option '-polly' that enables Polly. This allows us to create an the alias $ alias clang clang -Xclang -load -Xclang LLVMPolly.so which loads Polly always into clang. It can now be enabled by running: $ clang -O3 -mllvm -polly file.c To enable it by default an alias pollycc can be create $ alias pollycc clang -O3 -mllvm -polly llvm-svn: 144917 |
||
---|---|---|
.. | ||
autoconf | ||
cmake | ||
docs | ||
include | ||
lib | ||
test | ||
tools | ||
utils | ||
www | ||
CMakeLists.txt | ||
CREDITS.txt | ||
LICENSE.txt | ||
Makefile | ||
Makefile.common.in | ||
Makefile.config.in | ||
README | ||
configure |
README
Polly - Polyhedral optimizations for LLVM Polly uses a mathematical representation, the polyhedral model, to represent and transform loops and other control flow structures. Using an abstract representation it is possible to reason about transformations in a more general way and to use highly optimized linear programming libraries to figure out the optimal loop structure. These transformations can be used to do constant propagation through arrays, remove dead loop iterations, optimize loops for cache locality, optimize arrays, apply advanced automatic parallelization, drive vectorization, or they can be used to do software pipelining.