On 02-06-15 15:58, Richard Biener wrote:
Btw, I wonder why you don't organize the oacc-kernel passes in
a new simple-IPA group after pass_local_optimization_passes.

I've placed the pass group as early as possible (meaning after ealias) and put passes in front only when that served a purpose for parallelization (pass_fre). The idea there was to minimize the amount of passes that have to be modified to deal (conservatively) with a kernels region.

So AFAICT, there's nothing against placing the pass group after pass_local_optimization_passes, other that that it's more work in more passes to keep the region intact.

What would be the benefit of doing so?

Thanks,
- Tom

Reply via email to