diff options
Diffstat (limited to 'polly/test/CodeGen/simple_vec_assign_scalar_2.ll')
| -rw-r--r-- | polly/test/CodeGen/simple_vec_assign_scalar_2.ll | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/polly/test/CodeGen/simple_vec_assign_scalar_2.ll b/polly/test/CodeGen/simple_vec_assign_scalar_2.ll index 65f93425b96..9ef1f95cf47 100644 --- a/polly/test/CodeGen/simple_vec_assign_scalar_2.ll +++ b/polly/test/CodeGen/simple_vec_assign_scalar_2.ll @@ -1,4 +1,21 @@ ; RUN: opt %loadPolly %defaultOpts -polly-codegen %vector-opt -dce -S %s | FileCheck %s + +;#define N 1024 +;float A[N]; +;float B[N]; +; +;void simple_vec_const(void) { +; int i; +; +; for (i = 0; i < 4; i++) +; B[i] = A[i] + i; +;} +;int main() +;{ +; simple_vec_const(); +; return A[42]; +;} + ; ModuleID = 'simple_vec_assign_scalar_2.s' 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" |

