Files
clang-p2996/polly/test/CodeGen/OpenMP/two_loop.c
Tobias Grosser 758053788b Add initial version of Polly
This version is equivalent to commit ba26ebece8f5be84e9bd6315611d412af797147e
in the old git repository.

llvm-svn: 130476
2011-04-29 06:27:02 +00:00

25 lines
307 B
C

#include <string.h>
#define N 10240000
float A[N];
float B[N];
void loop1_openmp() {
for (int i = 0; i <= N; i++)
A[i] = 0;
for (int j = 0; j <= N; j++)
B[j] = 0;
}
int main () {
int i;
memset(A, 0, sizeof(float) * N);
memset(B, 1, sizeof(float) * N);
loop1_openmp();
return 0;
}