------- Comment #14 from rakdver at atrey dot karlin dot mff dot cuni dot cz 2006-04-10 15:53 ------- Subject: Re: IVs with the same evolution not eliminated
> I wonder if it helps placing this between cunroll and ivopts... > > void foo(int n, int m, int stridex, int stridey, int stridex2, int stridey2, > double *x, double *y) > { > for (int k=0; k<m; ++k) > for (int j=0; j<n; ++j) > for (int i=0; i<2; ++i) > x[i + stridex*j + stridex2*k] = y[i + stridey*j + stridey2*k]; > } > > producing better IV selection than what we get now. ivopts do not care (they will recognize that the two array references have the same offsets). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19590