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: COND_EXPR lowering patch


On Tue, 2003-08-26 at 14:31, law@redhat.com wrote:
>
>  >I'd also be tempted to try to call that final DCE from within
>  >SSA->Normal once we've eliminated PHIs, but before we've actually
>  >written the program back to normal form... Then we could get everything
>  >thats really dead at that point...
> We run DCE just before the conversion from SSA to normal form.  I would not
> expect that SSA to normal exposes any dead code.  Then again, I could be
> wrong.
> 

It can expose dead control flow, plus anything which ripples from that,
but perhaps we get that later?  We currently cant eliminate flow which
has a PHI node in the post dominator. SSA->Normal eliminates all the PHI
nodes, so these empty control structures become fair game if the
elements of the PHI node coalesced together and no code was inserted
into the empty control blocks....

Andrew 



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