aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2008-10-06-MMXISelBug.ll
blob: 7f7b1a436d24ac77d98a8219c8e5adf4709df300 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2
; PR2850

@tmp_V2i = common global <2 x i32> zeroinitializer		; <<2 x i32>*> [#uses=2]

define void @f0() nounwind {
entry:
	%0 = load <2 x i32>* @tmp_V2i, align 8		; <<2 x i32>> [#uses=1]
	%1 = shufflevector <2 x i32> %0, <2 x i32> undef, <2 x i32> zeroinitializer		; <<2 x i32>> [#uses=1]
	store <2 x i32> %1, <2 x i32>* @tmp_V2i, align 8
	ret void
}