RE: Patch: Refactor number_of_iterations_exit

2015-05-07 Thread Aditya K
> Subject: Re: Patch: Refactor number_of_iterations_exit > From: richard.guent...@gmail.com > Date: Thu, 7 May 2015 19:47:37 +0200 > To: hiradi...@msn.com; gcc-patches@gcc.gnu.org > > On May 7, 2015 6:27:28 PM GMT+02:00, Aditya K

Re: Patch: Refactor number_of_iterations_exit

2015-05-07 Thread Richard Biener
On May 7, 2015 6:27:28 PM GMT+02:00, Aditya K wrote: >Hi, >I refactored number_of_iterations_exit a little bit. I hope it is >helpful. >The idea is to move the call to function dominated_by_p after some >sanity checks so as to avoid call to it. The call is very cheap though. Do you have data tha