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: Improve unrolled size estimates


Hi,

> > Is it worth handling this very special case?  Note that you are 
> > recursively asking for stuff again, so this may become quadratic, 
> > especially as simple_iv isn't exactly very cheap.
> 
> Why instead not using two bitmaps for known-yes and known-no results of
> constant_after_peeling for SSA_NAMEs?  Or alternatively a cache of
> simple_iv results;

scev analysis results are already cached, there is some extra processing
done over them in simple_iv, but the overhead should not be large enough
to require caching (I may be mistaken, though, it might be that the cases
when simple_iv does something nontrivial are more common than I think),

Zdenek


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