1 ; RUN: llvm-as < %s | llc -march=arm &&
2 ; RUN: llvm-as < %s | llc -march=arm | grep "ldrb.*7"
4 %struct.A = type { i8, i8, i8, i8, i16, i8, i8, %struct.B** }
5 %struct.B = type { float, float, i32, i32, i32, [0 x i8] }
7 implementation ; Functions:
9 define i32 @f1(%struct.A* %d) {
11 %tmp2 = getelementptr %struct.A* %d, i32 0, i32 4
12 %tmp23 = bitcast i16* %tmp2 to i32*
13 %tmp4 = load i32* %tmp23
14 %tmp512 = lshr i32 %tmp4, 24
15 %tmp56 = trunc i32 %tmp512 to i8
17 br i1 %0, label %UnifiedReturnBlock, label %conArue
20 %tmp8 = tail call i32 @f( %struct.A* %d )
27 declare i32 @f(%struct.A*)