1 ; RUN: llvm-as < %s | llc -march=x86 | grep lea
3 %struct.anon = type { [3 x double], double, %struct.node*, [64 x %struct.bnode*], [64 x %struct.bnode*] }
4 %struct.bnode = type { i16, double, [3 x double], i32, i32, [3 x double], [3 x double], [3 x double], double, %struct.bnode*, %struct.bnode* }
5 %struct.node = type { i16, double, [3 x double], i32, i32 }
7 define fastcc void @old_main() {
9 %tmp44 = malloc %struct.anon ; <%struct.anon*> [#uses=2]
10 store double 4.000000e+00, double* null, align 4
13 bb41: ; preds = %uniform_testdata.exit, %entry
14 %i.0110 = phi i32 [ 0, %entry ], [ %tmp48, %uniform_testdata.exit ] ; <i32> [#uses=2]
15 %tmp48 = add i32 %i.0110, 1 ; <i32> [#uses=1]
16 br i1 false, label %uniform_testdata.exit, label %bb33.preheader.i
18 bb33.preheader.i: ; preds = %bb41
21 uniform_testdata.exit: ; preds = %bb41
22 %tmp57 = getelementptr %struct.anon* %tmp44, i32 0, i32 3, i32 %i.0110 ; <%struct.bnode**> [#uses=1]
23 store %struct.bnode* null, %struct.bnode** %tmp57, align 4
24 br i1 false, label %bb154, label %bb41
26 bb154: ; preds = %bb154, %uniform_testdata.exit
27 br i1 false, label %bb166, label %bb154
29 bb166: ; preds = %bb154
30 %tmp169 = getelementptr %struct.anon* %tmp44, i32 0, i32 3, i32 0 ; <%struct.bnode**> [#uses=0]