Re: Minor record_upper_bound tweek

2012-10-23 Thread Richard Biener
On Mon, 22 Oct 2012, Jan Hubicka wrote: > Hi, > with profile feedback we may misupdate the profile and start to believe that > loops > iterate more times than they do. This patch makes at least > nb_iterations_estimate > no greater than nb_iterations_upper_bound. This makes the > unrolling/pe

Minor record_upper_bound tweek

2012-10-22 Thread Jan Hubicka
Hi, with profile feedback we may misupdate the profile and start to believe that loops iterate more times than they do. This patch makes at least nb_iterations_estimate no greater than nb_iterations_upper_bound. This makes the unrolling/peeling/unswitching heuristics to behave more consistentl