This is the mail archive of the
mailing list for the GCC project.
Re: Fixes to estimate_num_insns from pretty-ipa branch
> > That is fine with me...
> > Those are really bit strange side cases: we expect complette unrollig
> > for size to happen even if it increases code size because we know that
> > it will be optimized better then.
> Well, that's obviously a good test for the heuristics then ;)
Yep, especially if there was some heuristic implemented at all :)))
All we do is to subtract 1/3 of the loop body size that is not enough if
you are more realistic about sizes. Well, I will add the code
predicting what statements will fold away.