1 ; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+sse3 -stats |& not grep {machine-licm}
4 target triple = "x86_64-apple-darwin10.0"
5 %struct.Key = type { i64 }
6 %struct.__Rec = type opaque
7 %struct.__vv = type { }
9 define %struct.__vv* @t(%struct.Key* %desc) nounwind ssp {
13 bb4: ; preds = %bb.i, %bb26, %bb4, %entry
14 %0 = call i32 (...)* @xxGetOffsetForCode(i32 undef) nounwind ; <i32> [#uses=0]
15 %ins = or i64 0, 0 ; <i64> [#uses=1]
16 %1 = call i32 (...)* @xxCalculateMidType(%struct.Key* %desc, i32 0) nounwind ; <i32> [#uses=1]
17 %cond = icmp eq i32 %1, 1 ; <i1> [#uses=1]
18 br i1 %cond, label %bb26, label %bb4
21 %2 = and i64 %ins, 15728640 ; <i64> [#uses=1]
22 %cond.i = icmp eq i64 %2, 1048576 ; <i1> [#uses=1]
23 br i1 %cond.i, label %bb.i, label %bb4
26 %3 = load i32* null, align 4 ; <i32> [#uses=1]
27 %4 = uitofp i32 %3 to float ; <float> [#uses=1]
28 %.sum13.i = add i64 0, 4 ; <i64> [#uses=1]
29 %5 = getelementptr i8* null, i64 %.sum13.i ; <i8*> [#uses=1]
30 %6 = bitcast i8* %5 to i32* ; <i32*> [#uses=1]
31 %7 = load i32* %6, align 4 ; <i32> [#uses=1]
32 %8 = uitofp i32 %7 to float ; <float> [#uses=1]
33 %.sum.i = add i64 0, 8 ; <i64> [#uses=1]
34 %9 = getelementptr i8* null, i64 %.sum.i ; <i8*> [#uses=1]
35 %10 = bitcast i8* %9 to i32* ; <i32*> [#uses=1]
36 %11 = load i32* %10, align 4 ; <i32> [#uses=1]
37 %12 = uitofp i32 %11 to float ; <float> [#uses=1]
38 %13 = insertelement <4 x float> undef, float %4, i32 0 ; <<4 x float>> [#uses=1]
39 %14 = insertelement <4 x float> %13, float %8, i32 1 ; <<4 x float>> [#uses=1]
40 %15 = insertelement <4 x float> %14, float %12, i32 2 ; <<4 x float>> [#uses=1]
41 store <4 x float> %15, <4 x float>* null, align 16
45 declare i32 @xxGetOffsetForCode(...)
47 declare i32 @xxCalculateMidType(...)