On Fri, 11 Nov 2016, Jakub Jelinek wrote: [...] > the intended outlining of SIMT regions for PTX offloading done (IMHO the > best place to do that is in omp expansion, not gimplification)
Sorry, I couldn't find a good way to implement that during omp expansion. The reason I went for gimplification is automatic discovery of sharing clauses - I'm assuming in expansion it's very hard to try and fill omp_data_[sio] without gimplifier's help. Does this sound sensible? Thanks. Alexander