This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix recent breakage in basic-block.h
Diego Novillo <dnovillo@redhat.com> writes:
> On Wed, 19 Sep 2001, Andreas Jaeger wrote:
>
>> DCE=Dead-Code Elimination?
>>
> Yes.
>
>> Does it really make sense so early in the process? AFAIU the
>> tree optimizations are done before the RTL ones and DCE should
>> be one of the later optimizations. What kind of benefits do
>> you expect?
>>
> Actually, DCE is one of those that you tend to do at several
> phases. Mostly, DCE cleans up the code, so that other passes
> like RTL generation or other optimizations don't have to deal
> with useless code. This should speed up the compiler and
> hopefully avoid creating RTL that could be difficult to remove
> later on.
Thanks Diego and Honza for the explanation.
> But initially, I'm implementing DCE because it's extremely simple
> and exercises most of the data/control flow information.
Glad to see a usable test ;-)
thanks,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj