This is the mail archive of the 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: [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, wrote:

I mentioned at the GCC summit, I had a nice one line patch which allowed tree-ssa to remove redundant loads at basically no cost.

And this patch rapes the ability of load PRE to work.

Well, as with anything done in the renaming pass, these tricks will only
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 other
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 PRE
only. But for now, let's just get these things implemented.

Right. So why are we spending time on implementing into-SSA optimizations?
(Not just Jeff's one liner, mind you, which i'm sure was trivial).

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