This is the mail archive of the gcc@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: [gomp] OpenMP IL design notes


Diego Novillo <dnovillo@redhat.com> writes:

>   GENERIC
>   	GOMP_PARALLEL <parallel_clauses data_clauses, body>
>   
>   GIMPLE
>   	GOMP_PARALLEL <g_parallel_clauses g_data_clauses, L1, L2>
> 	L1:
> 	  g_body
> 	L2:

I personally find it kind of baffling to have the same tree code act
differently in GENERIC and GIMPLE, a la SWITCH_EXPR.  It seems to add
confusion for minimal benefit.  If you are suggesting that the single
tree code GOMP_PARALLEL have different operands in GENERIC and GIMPLE,
can I suggest that you instead use two different tree coes?

Ian


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