You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void foo (int *restrict y, int *restrict x, int *restrict indices, int n) {
for (int k = 0; k < 10; k++)
for (int i = 0; i < n; i++) {
y[i + k * M] = y[i + k* M] + 1;
y[i + k * (M+1)] = indices[i] + 2;
}
}
When I add option -Rpass-analysis=loop-vectorize, it reports :8:22: remark: loop not vectorized,but in the final output assemble, we get sve assemble code as following: