[gomp] OpenMP IL design notes

Ian Lance Taylor ian@airs.com
Wed May 4 00:24:00 GMT 2005


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



More information about the Gcc mailing list