[Bug tree-optimization/19590] IVs with the same evolution not eliminated
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Apr 10 15:31:00 GMT 2006
------- Comment #13 from rguenth at gcc dot gnu dot org 2006-04-10 15:31 -------
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.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19590
More information about the Gcc-bugs
mailing list