Tobias, could you please advise me how is it better to determine a depth for loop (it is necessary for loop_is_parallel_p)? In graphite-clast-to-gimple.c. it is done by using the number of dimensions of a domain, which is attached to clast_for. As far as I know, isl doesn't give such a opportunity. If I'm not mistaken “2 * ( level + 1) “ is also not suitable for all cases.
-- Cheers, Roman Gareev.