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/single_do_loop_int_max_iterations.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/single_do_loop_int_max_iterations.c')
| -rw-r--r-- | polly/test/CodeGen/single_do_loop_int_max_iterations.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/polly/test/CodeGen/single_do_loop_int_max_iterations.c b/polly/test/CodeGen/single_do_loop_int_max_iterations.c deleted file mode 100644 index a47751837db..00000000000 --- a/polly/test/CodeGen/single_do_loop_int_max_iterations.c +++ /dev/null @@ -1,34 +0,0 @@ -#define N 20 -#include "limits.h" -#include <stdio.h> -int A[N]; - -void single_do_loop_int_max_iterations() { - int i; - - __sync_synchronize(); - - i = 0; - - do { - A[0] = i; - ++i; - } while (i < INT_MAX); - - __sync_synchronize(); -} - -int main () { - int i; - - A[0] = 0; - - single_do_loop_int_max_iterations(); - - fprintf(stdout, "Output %d\n", A[0]); - - if (A[0] == INT_MAX - 1) - return 0; - else - return 1; -} |

