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.


> 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.  :)

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/


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