llvm-project/clang/test/CodeGen/vector.c

11 lines
178 B
C
Raw Normal View History

// RUN: clang -emit-llvm %s -o -
typedef short __v4hi __attribute__ ((__vector_size__ (8)));
void f()
{
__v4hi A = (__v4hi)0LL;
2008-02-02 07:27:51 +08:00
}
__v4hi x = {1,2,3};
__v4hi y = {1,2,3,4};