1// RUN: %clang_cc1 -emit-llvm %s -O0 -o - 2// PR1378 3 4typedef float v4sf __attribute__((vector_size(16))); 5 6typedef v4sf float4; 7 8static float4 splat4(float a) 9{ 10 float4 tmp = {a,a,a,a}; 11 return tmp; 12} 13 14float4 foo(float a) 15{ 16 return splat4(a); 17} 18