This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, 4/8] Add pass_tree_loop_{init,done} to pass_oacc_kernels


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]