llvm.org GIT mirror llvm / 5b05711 test / CodeGen / X86 / 2008-10-06-MMXISelBug.ll
5b05711

Tree @5b05711 (Download .tar.gz)

2008-10-06-MMXISelBug.ll @5b05711raw · history · blame

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