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_loop_zero_iterations.ll | |
parent | acc748b2b572ab3106665fcb16ed669b29c213a6 (diff) | |
download | llvm-41b20a62c926f7b8b68d5fcff18dbf43faab28c2.tar.gz |
Tests: move content of .c files in .ll
llvm-svn: 167283
Diffstat (limited to 'polly/test/CodeGen/single_loop_zero_iterations.ll')
-rw-r--r-- | polly/test/CodeGen/single_loop_zero_iterations.ll | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/polly/test/CodeGen/single_loop_zero_iterations.ll b/polly/test/CodeGen/single_loop_zero_iterations.ll index a00ed9b089e1..9d6963d8ce35 100644 --- a/polly/test/CodeGen/single_loop_zero_iterations.ll +++ b/polly/test/CodeGen/single_loop_zero_iterations.ll @@ -1,6 +1,26 @@ ; RUN: opt %loadPolly %defaultOpts -polly-cloog -analyze -S %s | FileCheck %s -; ModuleID = 'single_loop_zero_iterations.s' +;#define N 20 +; +;int main () { +; int i; +; int A[N]; +; +; A[0] = 0; +; +; __sync_synchronize(); +; +; for (i = 0; i < 0; i++) +; A[i] = 1; +; +; __sync_synchronize(); +; +; if (A[0] == 0) +; return 0; +; else +; return 1; +;} + target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target triple = "x86_64-unknown-linux-gnu" |