This is the mail archive of the gcc-patches@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: [tree-ssa] COND_EXPR lowering.


On Fri, 2003-10-24 at 16:07, Chris Lattner wrote:
> 
> > The goal is to flatten the COND_EXPR... to change the arms to be labels
> > instead of stmt's changes the meaning of the COND_EXPR node to the rest
> > of the compiler, so thats why Zdenek has chosen to leave them as GOTO's.
> 
> > How does that sound? I think it'll read cleaner too when looking at the
> > code.
> 
> FWIW, we have been doing this in LLVM for several years now, and it works
> great.  :)
> 
There, a ringing endorsement :-)  It sounds like the cleanest way to
deal with the issue.

Andrew


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