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
#include<cstdint>uint32_tfoo(uint32_t *A, int n) {
uint32_t sum = 0;
for (int i = 0; i < n * 32; i++)
sum += A[i];
return sum;
}
Output IR is attached. I believe what's happening here is that the smax generated by SCEV expansion during IndVarSimplify interacts badly with SCEV checks in the loop vectorizer. I'm not quite sure though.