diff options
Diffstat (limited to 'test/CodeGen/altivec.c')
-rw-r--r-- | test/CodeGen/altivec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/altivec.c b/test/CodeGen/altivec.c new file mode 100644 index 000000000000..9e38df50930c --- /dev/null +++ b/test/CodeGen/altivec.c @@ -0,0 +1,4 @@ +// RUN: %clang_cc1 -faltivec -triple powerpc-unknown-unknown -emit-llvm %s -o - | FileCheck %s + +// CHECK: @test0 = global <4 x i32> <i32 1, i32 1, i32 1, i32 1> +vector int test0 = (vector int)(1); |