Re: Fix PR82849 (ICE in modulo scheduling)

2017-11-21 Thread Jeff Law
On 11/19/2017 07:46 AM, Jan Hubicka wrote: > Hi, > my understanding of the code is that trip_count is trying to estimate number > of iterations when counts are available and disable modulo scheduler for > loops with too few iterations. That's my reading as well. > We now have get_estimated_loop_it

Fix PR82849 (ICE in modulo scheduling)

2017-11-19 Thread Jan Hubicka
Hi, my understanding of the code is that trip_count is trying to estimate number of iterations when counts are available and disable modulo scheduler for loops with too few iterations. We now have get_estimated_loop_iterations_int and get_max_loop_iterations_int which keeps information detected ups