[polly] r214200 - IslAst: Enhance parallelism detection test

Tobias Grosser tobias at grosser.es
Tue Jul 29 13:56:30 PDT 2014


On 29/07/2014 22:32, Johannes Doerfert wrote:
> Without talking about the IslAst patch, why don't we want to print the
> pragma twice?

The intention is that the pragma corresponds to the loop that is later 
parallelized with openmp and the current openmp code generation only
parallelizes a single loop, the outermost loop. I did not check if there 
are any cases where we would like to parallelize multiple nested loops.

I did not commit this because I am sure it is the best approach to be 
taken in all situations, but rather to document what currently happens
such that changes become explicit. If you believe there are reasons why
we would like to change this, feel free to open a discussion.

Cheers,
Tobias



More information about the llvm-commits mailing list