This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] COND_EXPR lowering.
- From: Andrew MacLeod <amacleod at redhat dot com>
- To: Chris Lattner <sabre at nondot dot org>
- Cc: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: 24 Oct 2003 16:09:38 -0400
- Subject: Re: [tree-ssa] COND_EXPR lowering.
- References: <Pine.LNX.4.44.0310241505090.24474-100000@nondot.org>
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