Re: [PATCH, RFC] Fix PR62147 by passing finiteness information to RTL phase

2019-06-25 Thread Richard Biener
On Tue, 25 Jun 2019, Kewen.Lin wrote: > Hi all, > > As PR62147, for some cases loop iv analysis is unable to identify one loop is > finite even if the loop is actually finite and we have known it in > middle-end. > It will prevent doloop_optimize and end up with worse codes. > > This patch is

[PATCH, RFC] Fix PR62147 by passing finiteness information to RTL phase

2019-06-24 Thread Kewen.Lin
Hi all, As PR62147, for some cases loop iv analysis is unable to identify one loop is finite even if the loop is actually finite and we have known it in middle-end. It will prevent doloop_optimize and end up with worse codes. This patch is going to leverage existing middle-end function finite_lo