Files
clang-p2996/polly/test/CodeGen/OpenMP/simple_nested_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

23 lines
261 B
C

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