llvm-project/polly/test/CodeGen/simple_vec_assign_scalar_2.c

16 lines
182 B
C
Raw Normal View History

#define N 1024
float A[N];
float B[N];
void simple_vec_const(void) {
int i;
for (i = 0; i < 4; i++)
B[i] = A[i] + i;
}
int main()
{
simple_vec_const();
return A[42];
}