Optimized FCMP_OEQ and FCMP_UNE for x86.
[oota-llvm.git] / test / CodeGen / X86 / vec_return.ll
1 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 > %t
2 ; RUN: grep xorps %t | count 1
3 ; RUN: grep movaps %t | count 1
4 ; RUN: not grep shuf %t
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 }