------- Comment #3 from dberlin at gcc dot gnu dot org 2007-04-29 20:31 ------- Subject: Re: Doesn't optimize the following (obvious) sequence
On 29 Apr 2007 15:21:40 -0000, spop at gcc dot gnu dot org <[EMAIL PROTECTED]> wrote: > > > ------- Comment #2 from spop at gcc dot gnu dot org 2007-04-29 16:21 ------- > Subject: Re: Doesn't optimize the following (obvious) sequence > > > PRE optimized the "offset" and "stride" variables. > > SCEV doesn't know how to create an offset or step out of these optimized > > operations. > > I remember another bug report like this one, and the solution was to tweak > PRE not to peel linear sequences. Yes, i changed PRE to not peel sequences there, but this doesn't end up looking like an easy induction variable (IE PHI with one edge outside the loop, one edge inside the loop) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31756