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: [tuples] gimple_assign_subcode for GIMPLE_SINGLE_RHS


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.


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