aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/xor-undef.ll
blob: d279fbb708e69452b251dabe784166110cbebf74 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc < %s -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
}