ed1a15c8607b4cfe123896bb0e37dea026e9b94b
[oota-llvm.git] / test / CodeGen / X86 / vec_return.ll
1 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2
2 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep xorps | count 1
3 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movaps | count 1
4 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep shuf
5
6 define <2 x double> @test() {
7         ret <2 x double> zeroinitializer
8 }
9
10 define <4 x i32> @test2() nounwind  {
11         ret <4 x i32> < i32 0, i32 0, i32 1, i32 0 >
12 }