teak-llvm/clang/test/CodeGen/altivec.c
John McCall 875679eea0 Fix the constant evaluator for AltiVec-style vector literals so that the
vector is filled with the given constant;  we were just initializing the
first element.

llvm-svn: 105824
2010-06-11 17:54:15 +00:00

5 lines
197 B
C

// 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);