summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/vector.c
blob: 86956e05f58fe5f828f7187a56b1c3cf6cb988e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: clang -emit-llvm %s -o %t
typedef short __v4hi __attribute__ ((__vector_size__ (8)));

void f()
{
    __v4hi A = (__v4hi)0LL;
}

__v4hi x = {1,2,3};
__v4hi y = {1,2,3,4};
__v4hi z = {1,2,3,4,5};
OpenPOWER on IntegriCloud