Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / 2007-05-03-VectorInit.cpp
blobb22b52a2661508c83fedc45727b5ee31d38c891d
1 // RUN: %clang_cc1 -emit-llvm %s -o -
2 // PR1378
4 typedef float v4sf __attribute__((vector_size(16)));
6 typedef v4sf float4;
8 static float4 splat4(float a)
10 float4 tmp = {a,a,a,a};
11 return tmp;
14 float4 foo(float a)
16 return splat4(a);