Re: [PATCH v3 02/12] OpenMP: middle-end support for metadirectives

2024-08-20 Thread Sandra Loosemore
On 8/10/24 02:02, Jakub Jelinek wrote: On Sat, Aug 10, 2024 at 09:18:24AM +0200, Jakub Jelinek wrote: On Fri, Aug 09, 2024 at 07:12:48PM +0200, Jakub Jelinek wrote: --- a/gcc/gimple.def +++ b/gcc/gimple.def @@ -398,6 +398,13 @@ DEFGSCODE(GIMPLE_OMP_TEAMS, "gimple_omp_teams", GSS_OMP_PARALLEL_L

Re: [PATCH v3 02/12] OpenMP: middle-end support for metadirectives

2024-08-10 Thread Jakub Jelinek
On Sat, Aug 10, 2024 at 09:18:24AM +0200, Jakub Jelinek wrote: > On Fri, Aug 09, 2024 at 07:12:48PM +0200, Jakub Jelinek wrote: > > > --- a/gcc/gimple.def > > > +++ b/gcc/gimple.def > > > @@ -398,6 +398,13 @@ DEFGSCODE(GIMPLE_OMP_TEAMS, "gimple_omp_teams", > > > GSS_OMP_PARALLEL_LAYOUT) > > >

Re: [PATCH v3 02/12] OpenMP: middle-end support for metadirectives

2024-08-10 Thread Jakub Jelinek
On Fri, Aug 09, 2024 at 07:12:48PM +0200, Jakub Jelinek wrote: > > --- a/gcc/gimple.def > > +++ b/gcc/gimple.def > > @@ -398,6 +398,13 @@ DEFGSCODE(GIMPLE_OMP_TEAMS, "gimple_omp_teams", > > GSS_OMP_PARALLEL_LAYOUT) > > CLAUSES is an OMP_CLAUSE chain holding the associated clauses. */ > > DEF

Re: [PATCH v3 02/12] OpenMP: middle-end support for metadirectives

2024-08-09 Thread Jakub Jelinek
On Sat, Jul 20, 2024 at 02:42:21PM -0600, Sandra Loosemore wrote: > --- a/gcc/cgraph.h > +++ b/gcc/cgraph.h > @@ -900,6 +900,7 @@ struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : > public symtab_node >ipcp_clone (false), declare_variant_alt (false), >calls_declare_variant_alt (f

[PATCH v3 02/12] OpenMP: middle-end support for metadirectives

2024-07-20 Thread Sandra Loosemore
This patch adds middle-end support for OpenMP metadirectives. Some context selectors can be resolved during gimplification, but others need to be deferred until the omp_device_lower pass, which requires that cgraph, LTO streaming, inlining, etc all know about this construct as well. gcc/ChangeLog