Re: [PATCH] Fix PR42108

2014-12-11 Thread Steve Kargl
On Thu, Dec 11, 2014 at 11:05:13AM +0100, Richard Biener wrote: > > The following patch fixes the performance regression in PR42108 > by allowing PRE and LIM to see the division (to - from) / step > in translating do loops executed unconditionally. This makes > them not care for the fact that ste

Re: [PATCH] Fix PR42108

2014-12-10 Thread Richard Biener
On Tue, 9 Dec 2014, Richard Biener wrote: > > The following finally fixes PR42108 (well, hopefully...) by using > range-information on SSA names to allow the integer divisions introduced > by Fortran array lowering being hoisted out of loops, thus detecting > them as not trapping. > > I chose to