Fix a FIXME. _foo.eh symbols are currently always exported so that the linker
[oota-llvm.git] / test / CodeGen / X86 / mmx-vzmovl-2.ll
1 ; RUN: llc < %s -march=x86-64 -mattr=+mmx | grep pxor
2 ; RUN: llc < %s -march=x86-64 -mattr=+mmx | grep punpckldq
3
4         %struct.vS1024 = type { [8 x <4 x i32>] }
5         %struct.vS512 = type { [4 x <4 x i32>] }
6
7 declare <1 x i64> @llvm.x86.mmx.psrli.q(<1 x i64>, i32) nounwind readnone
8
9 define void @t() nounwind {
10 entry:
11         br label %bb554
12
13 bb554:          ; preds = %bb554, %entry
14         %sum.0.reg2mem.0 = phi <1 x i64> [ %tmp562, %bb554 ], [ zeroinitializer, %entry ]               ; <<1 x i64>> [#uses=1]
15         %0 = load <1 x i64>* null, align 8              ; <<1 x i64>> [#uses=2]
16         %1 = bitcast <1 x i64> %0 to <2 x i32>          ; <<2 x i32>> [#uses=1]
17         %tmp555 = and <2 x i32> %1, < i32 -1, i32 0 >           ; <<2 x i32>> [#uses=1]
18         %2 = bitcast <2 x i32> %tmp555 to <1 x i64>             ; <<1 x i64>> [#uses=1]
19         %3 = call <1 x i64> @llvm.x86.mmx.psrli.q(<1 x i64> %0, i32 32) nounwind readnone               ; <<1 x i64>> [#uses=1]
20         store <1 x i64> %sum.0.reg2mem.0, <1 x i64>* null
21         %tmp558 = add <1 x i64> %sum.0.reg2mem.0, %2            ; <<1 x i64>> [#uses=1]
22         %4 = call <1 x i64> @llvm.x86.mmx.psrli.q(<1 x i64> %tmp558, i32 32) nounwind readnone          ; <<1 x i64>> [#uses=1]
23         %tmp562 = add <1 x i64> %4, %3          ; <<1 x i64>> [#uses=1]
24         br label %bb554
25 }