Re: Fix profile updating in loop peeling

2016-06-02 Thread Bernhard Reutner-Fischer
On Mon, May 30, 2016 at 02:38:40PM +0200, Jan Hubicka wrote: > Hi, > this patch fixes profile updates in loop peeling pass. First it correctly > set wont_exit which can only be set when we know the number of iterations > tested by EXIT and this number is higher than maximal number of iterations >

Fix profile updating in loop peeling

2016-05-30 Thread Jan Hubicka
Hi, this patch fixes profile updates in loop peeling pass. First it correctly set wont_exit which can only be set when we know the number of iterations tested by EXIT and this number is higher than maximal number of iterations (an unlikely case which is usually removed by VRP pass or earlier cunro