This is the mail archive of the gcc-patches@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: [PATCH]: Fix places where we expect non-null loops in the loop array


On Tue, Dec 07, 2004 at 06:20:07PM -0500, Daniel Berlin wrote:
> 
> Invalidating the loop indexes by compression will screw over scev's cache, 
> which will cause a performance regression at the expense of a few if's in 
> the other code.
> 

You can invalidate just a part of the scev cache:

for var in scev_db
  ev = scev (var)
  if ev has an evolution part in loop_k
    set var to not_analyzed_yet

This invalidated part of the cache will be updated if needed.  
If you need this invalidation function, I can code it.

Seb


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