diff options
| author | Tobias Grosser <grosser@fim.uni-passau.de> | 2012-11-02 06:08:39 +0000 |
|---|---|---|
| committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2012-11-02 06:08:39 +0000 |
| commit | 41b20a62c926f7b8b68d5fcff18dbf43faab28c2 (patch) | |
| tree | 2fcb6954b2ee72925111d572edc9018e985921c0 /polly/test/CodeGen/reduction.c | |
| parent | acc748b2b572ab3106665fcb16ed669b29c213a6 (diff) | |
| download | bcm5719-llvm-41b20a62c926f7b8b68d5fcff18dbf43faab28c2.tar.gz bcm5719-llvm-41b20a62c926f7b8b68d5fcff18dbf43faab28c2.zip | |
Tests: move content of .c files in .ll
llvm-svn: 167283
Diffstat (limited to 'polly/test/CodeGen/reduction.c')
| -rw-r--r-- | polly/test/CodeGen/reduction.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/polly/test/CodeGen/reduction.c b/polly/test/CodeGen/reduction.c deleted file mode 100644 index 73a5e1e5381..00000000000 --- a/polly/test/CodeGen/reduction.c +++ /dev/null @@ -1,27 +0,0 @@ -#include <string.h> -#include <stdio.h> -#define N 1021 - -int main () { - int i; - int A[N]; - int red; - - memset(A, 0, sizeof(int) * N); - - A[0] = 1; - A[1] = 1; - red = 0; - - __sync_synchronize(); - - for (i = 2; i < N; i++) { - A[i] = A[i-1] + A[i-2]; - red += A[i-2]; - } - - __sync_synchronize(); - - if (red != 382399368) - return 1; -} |

