Tobias Burnus <bur...@net-b.de> writes:
>
> The plan is to translate it as normal loop; however, it would be
> useful if this non-order-dependence could be used by the middle end
> (general optimization or at least for -floop-parallelize-all /
> -ftree-parallelize-loops). Is there a way to tell the middle-end about
> this property?

iirc the cilk plus branch does that for C (also tells the vectorizer,
which is very useful too) But it needed various changes in the middle
end. Perhaps you could reuse some of that code.

-Andi

Reply via email to