aboutsummaryrefslogblamecommitdiff
path: root/test/CodeGen/X86/vec_return.ll
blob: 106966fd52128f08439026b89abf9dcd231ec0c9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                      
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 > %t
; RUN: grep xorps %t | count 1
; RUN: grep movaps %t | count 1
; RUN: not grep shuf %t

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 >
}