1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -o -
2*f4a2713aSLionel Sambuc 
3*f4a2713aSLionel Sambuc typedef float __m128 __attribute__((__vector_size__(16)));
4*f4a2713aSLionel Sambuc typedef long long __v2di __attribute__((__vector_size__(16)));
5*f4a2713aSLionel Sambuc typedef int __v4si __attribute__((__vector_size__(16)));
6*f4a2713aSLionel Sambuc 
7*f4a2713aSLionel Sambuc __v2di  bar(void);
foo(int X,__v4si * P)8*f4a2713aSLionel Sambuc void foo(int X, __v4si *P) {
9*f4a2713aSLionel Sambuc 	*P = X == 2 ? bar() : bar();
10*f4a2713aSLionel Sambuc }
11*f4a2713aSLionel Sambuc 
12