This is the mail archive of the
mailing list for the GCC project.
Re: [tree-ssa] Removing redundant loads
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: Jeff Law <law at redhat dot com>,"gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 29 May 2003 17:32:12 -0400
- Subject: Re: [tree-ssa] Removing redundant loads
Hit send too early.
On Thursday, May 29, 2003, at 05:21 PM, Diego Novillo wrote:
On Thu, 2003-05-29 at 17:13, Daniel Berlin wrote:
On Thursday, May 29, 2003, at 04:38 PM, email@example.com wrote:Well, as with anything done in the renaming pass, these tricks will
I mentioned at the GCC summit, I had a nice one line patch which
tree-ssa to remove redundant loads at basically no cost.
And this patch rapes the ability of load PRE to work.
catch total redundancies. So, yes, it may hinder PRE. But don't
despair, nothing is written in stone here.
What we should do is make these transformations conditional as any
transformation. Later on, when PRE is finished, we can start playing
the flags game with SPEC or what-have-you.
My idea is to put in -O2 all the options that help SPEC or any other
commonly used hunk of code. It may well happen that we end up using
only. But for now, let's just get these things implemented.
Right. So why are we spending time on implementing into-SSA
(Not just Jeff's one liner, mind you, which i'm sure was trivial).