This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: df.c and partial writes/REG_EQUAL notes
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: df.c and partial writes/REG_EQUAL notes
- From: Daniel Berlin <dan at cgsoftware dot com>
- Date: Thu, 25 Oct 2001 09:36:13 -0400
- Cc: law at redhat dot com, gcc at gcc dot gnu dot org, rth at cygnus dot com,m dot hayes at elec dot canterbury dot ac dot nz, matzmich at cs dot tu-berlin dot de,dan at cgsoftware dot com
- References: <20010925161602.C13734@atrey.karlin.mff.cuni.cz><3257.1003952277@localhost.localdomain><20011025152259.E29132@atrey.karlin.mff.cuni.cz>
Jan Hubicka <jh@suse.cz> writes:
>> In message <20010925161602.C13734@atrey.karlin.mff.cuni.cz>you write:
>> > yesterday I wanted to make myself familiar with the dataflow module and
>> > write simple code to construct webs early and split each pseudo consisting
>> > of multiple webs to assist CSE and other optimizations.
>> Don't bother. SSA will do this for you in a much more sane way and will
>> probably be faster and generate better code anyway.
>
> Hmm, I understand that you may get the renaming of pseudos as side effect
> of SSA/deSSA converison, but why it will be faster/generate better
> code?
It won't be, assuming you are using my patches to df.c to change the
iteration order/etc.
It'll be O(n+2).
--
"I play the harmonica. The only way I can play is if I get my
car going really fast, and stick it out the window. I've been
arrested three times for practicing.
"-Steven Wright