1 ; RUN: llc < %s -mtriple=thumbv7-apple-ios -relocation-model=pic -disable-fp-elim -mcpu=cortex-a8 2 3 %struct.LIST_NODE.0.16 = type { %struct.LIST_NODE.0.16*, i8* } 4 5 define %struct.LIST_NODE.0.16* @list_AssocListPair(%struct.LIST_NODE.0.16* %List, i8* %Key) nounwind readonly { 6 entry: 7 br label %bb3 8 9 bb: ; preds = %bb3 10 %Scan.0.idx7.val = load i8** undef, align 4 11 %.idx = getelementptr i8* %Scan.0.idx7.val, i32 4 12 %0 = bitcast i8* %.idx to i8** 13 %.idx.val = load i8** %0, align 4 14 %1 = icmp eq i8* %.idx.val, %Key 15 br i1 %1, label %bb5, label %bb2 16 17 bb2: ; preds = %bb 18 %Scan.0.idx8.val = load %struct.LIST_NODE.0.16** undef, align 4 19 br label %bb3 20 21 bb3: ; preds = %bb2, %entry 22 %Scan.0 = phi %struct.LIST_NODE.0.16* [ %List, %entry ], [ %Scan.0.idx8.val, %bb2 ] 23 %2 = icmp eq %struct.LIST_NODE.0.16* %Scan.0, null 24 br i1 %2, label %bb5, label %bb 25 26 bb5: ; preds = %bb3, %bb 27 ret %struct.LIST_NODE.0.16* null 28 } 29