Re: Cap niter_for_unrolled_loop to upper bound

2017-05-04 Thread Richard Biener
On Thu, May 4, 2017 at 8:47 AM, Richard Sandiford wrote: > For the reasons explained in PR77536, niter_for_unrolled_loop assumes 5 > iterations in the absence of profiling information, although it doesn't > increase beyond the estimate for the original loop. This

Cap niter_for_unrolled_loop to upper bound

2017-05-04 Thread Richard Sandiford
For the reasons explained in PR77536, niter_for_unrolled_loop assumes 5 iterations in the absence of profiling information, although it doesn't increase beyond the estimate for the original loop. This left a hole in which the new estimate could be less than the old one but still greater than the