1 ; RUN: llc < %s -march=x86 | not grep imul
3 %struct.eebb = type { %struct.eebb*, i16* }
4 %struct.hf = type { %struct.hf*, i16*, i8*, i32, i32, %struct.eebb*, i32, i32, i8*, i8*, i8*, i8*, i16*, i8*, i16*, %struct.ri, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [30 x i32], %struct.eebb, i32, i8* }
5 %struct.foo_data = type { i32, i32, i32, i32*, i32, i32, i8*, i8*, i32, i32, i32, i32, i32, i32, i32, i32, i8*, i16*, i16*, i16*, i16*, i32, i32, i32, %struct.ri*, i8*, %struct.hf* }
6 %struct.ri = type { %struct.ri*, i32, i8*, i16*, i32*, i32 }
8 define fastcc i32 @foo(i16* %eptr, i8* %ecode, %struct.foo_data* %md, i32 %ims) {
10 %tmp36 = load i32* null, align 4 ; <i32> [#uses=1]
11 %tmp37 = icmp ult i32 0, %tmp36 ; <i1> [#uses=1]
12 br i1 %tmp37, label %cond_next79, label %cond_true
14 cond_true: ; preds = %entry
17 cond_next79: ; preds = %entry
18 %tmp85 = load i32* null, align 4 ; <i32> [#uses=1]
19 %tmp86 = icmp ult i32 0, %tmp85 ; <i1> [#uses=1]
20 br i1 %tmp86, label %cond_next130, label %cond_true89
22 cond_true89: ; preds = %cond_next79
25 cond_next130: ; preds = %cond_next79
26 %tmp173 = icmp eq i32 0, 0 ; <i1> [#uses=1]
27 br i1 %tmp173, label %cond_next201, label %cond_true176
29 cond_true176: ; preds = %cond_next130
32 cond_next201: ; preds = %cond_next130
33 switch i32 0, label %bb19955 [
37 i32 3, label %cond_true5534
38 i32 4, label %cond_true5534
45 i32 11, label %cond_next5871
50 i32 23, label %bb12899
56 i32 73, label %cond_true1984
61 bb552: ; preds = %cond_next201
64 bb740: ; preds = %cond_next201
67 bb1266: ; preds = %cond_next201
70 bb1447: ; preds = %cond_next201, %cond_next201
73 bb1737: ; preds = %cond_next201, %cond_next201
76 cond_true1984: ; preds = %cond_next201
79 bb2162: ; preds = %cond_next201
82 bb4883: ; preds = %cond_next201
85 bb5018: ; preds = %cond_next201
88 bb5075: ; preds = %cond_next201
91 bb5136: ; preds = %cond_next201
94 bb5395: ; preds = %cond_next201
97 bb5452: ; preds = %cond_next201
100 cond_true5534: ; preds = %cond_next201, %cond_next201
103 cond_next5871: ; preds = %cond_next201
106 bb6039: ; preds = %cond_next201
109 bb6181: ; preds = %cond_next201
112 bb6323: ; preds = %cond_next201
115 bb6463: ; preds = %cond_next201
118 bb6605: ; preds = %cond_next201
121 bb6746: ; preds = %cond_next201
124 bb12899: ; preds = %cond_next201
127 bb19955: ; preds = %cond_next201