[tuples] gimple_assign_subcode for GIMPLE_SINGLE_RHS

Diego Novillo dnovillo@google.com
Tue Mar 11 19:11:00 GMT 2008


On Tue, Mar 11, 2008 at 08:02, Zdenek Dvorak <rakdver@kam.mff.cuni.cz> wrote:

>  another possibility would be to represent a = b < c ? d : e as
>
>  GIMPLE_ASSIGN (LT_EXPR, a, b, c, d, e)
>
>  and a = (b < c) as
>
>  GIMPLE_ASSIGN (LT_EXPR, a, b, c, true, false)

Yeah, I think I like this one.  We don't have too many assignments of
the form a  = (b < c) to be a problem (this adds two extra operand
slots to the tuple).


Diego.



More information about the Gcc mailing list