aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/xor-undef.ll
blob: 0e60d4ef087ef2b005773f3c283d6ca6ff23bf6f (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep xor | count 2

define <4 x i32> @t1() {
	%tmp = xor <4 x i32> undef, undef
	ret <4 x i32> %tmp
}

define i32 @t2() {
	%tmp = xor i32 undef, undef
	ret i32 %tmp
}