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

16 lines
196 B
C

#define M 1024
#define N 1024
#define K 1024
float X[K];
float parallel_loop_simple() {
int i, k;
for (i = 0; i < M; i++)
for (k = 0; k < K; k++)
X[k] += X[k];
return X[42];
}