Fix a FIXME. _foo.eh symbols are currently always exported so that the linker
[oota-llvm.git] / test / CodeGen / X86 / vec_return.ll
index 9be341670420d93b4efa2ad533604bec411051e2..676be9b7179cfd9847dffb2fbeefe2c6fb5d3693 100644 (file)
@@ -1,5 +1,12 @@
-; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah
+; RUN: llc < %s -march=x86 -mattr=+sse2 > %t
+; RUN: grep pxor %t | count 1
+; RUN: grep movaps %t | count 1
+; RUN: not grep shuf %t
 
-<2 x double> %test() {
-       ret <2 x double> <double 0.0, double 0.0>
+define <2 x double> @test() {
+       ret <2 x double> zeroinitializer
+}
+
+define <4 x i32> @test2() nounwind  {
+       ret <4 x i32> < i32 0, i32 0, i32 1, i32 0 >
 }