blob: bd1ad59797aba8d19644b3a4675ece4fd4c793f7 [file] [log] [blame]
Evan Chengbdd9d9f2008-10-06 21:13:08 +00001; RUN: llvm-as < %s | llc -march=x86 -mattr=+mmx,+sse2
2; PR2850
3
4@tmp_V2i = common global <2 x i32> zeroinitializer ; <<2 x i32>*> [#uses=2]
5
6define void @f0() nounwind {
7entry:
8 %0 = load <2 x i32>* @tmp_V2i, align 8 ; <<2 x i32>> [#uses=1]
9 %1 = shufflevector <2 x i32> %0, <2 x i32> undef, <2 x i32> zeroinitializer ; <<2 x i32>> [#uses=1]
10 store <2 x i32> %1, <2 x i32>* @tmp_V2i, align 8
11 ret void
12}