This is the mail archive of the
mailing list for the GCC project.
Re: COND_EXPR lowering patch
- From: Andrew MacLeod <amacleod at redhat dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>, gcc mailing list <gcc at gcc dot gnu dot org>
- Date: 26 Aug 2003 14:03:00 -0400
- Subject: Re: COND_EXPR lowering patch
- References: <200308260743.h7Q7hW7s001060@speedy.slc.redhat.com>
On Tue, 2003-08-26 at 03:43, firstname.lastname@example.org wrote:
> In message <1061855171.25084.327.camel@p4>, Andrew MacLeod writes:
> >On Mon, 2003-08-25 at 18:00, Zdenek Dvorak wrote:
> Once you lower COND_EXPRs so that they merely contain a condition
> and GOTO_EXPRs in their arms, it becomes quite trivial for either
> linearize_cond_expr or a CFG based jump threader to remove
> useless COND_EXPRs. Meaning that we will not need control dependency
> stuff in dce long term (either the real stuff or the stuff we fake
> using control statement parents).
Then I'd be tempted to side with Zdenek.. If there isnt a long term
strategic reason to go to the effort of switching this around to get
control flow with control dependance info, why not just leave it as a
simple lightweight DCE? It doesnt buy us much anyway.