forked from OSchip/llvm-project
8b5344fda2
We introduces a new flag -polly-parallel and use it to annotate the for-nodes in the isl ast that we want to execute thread parallel (e.g., using OpenMP). We previously already emmitted openmp annotations, but we did this for various kinds of parallel loops, including some which we can not run in parallel. With this patch we now have three annotations: 1) #pragma known-parallel [reduction] 2) #pragma omp for 3) #pragma simd meaning: 1) loop has no loop carried dependences 2) loop will be executed thread-parallel 3) loop can possibly be vectorized This patch introduces 1) and reduces the use of 2) to only the cases where we will actually generate thread parallel code. It is in preparation of openmp code generation in our isl backend. Legacy: - We also have a command line option -enable-polly-openmp. This option controls the OpenMP code generation in CLooG. It will become an alias of -polly-parallel after the CLooG code generation has been dropped. http://reviews.llvm.org/D6142 llvm-svn: 221479 |
||
---|---|---|
.. | ||
2012-03-16-Empty-Domain.ll | ||
2012-04-16-Trivially-vectorizable-loops.ll | ||
2012-10-14-Zero-Bands.ll | ||
2013-04-11-Empty-Domain-two.ll | ||
computeout.ll | ||
line-tiling-2.ll | ||
line-tiling.ll | ||
prevectorization.ll | ||
rectangular-tiling.ll |