1; RUN: llvm-as < %s | llc -march=arm && 2; RUN: llvm-as < %s | llc -march=arm | grep "ldrb.*7" 3 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] } 6 7implementation ; Functions: 8 9define i32 @f1(%struct.A* %d) { 10entry: 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 16 icmp eq i8 %tmp56, 0 17 br i1 %0, label %UnifiedReturnBlock, label %conArue 18 19conArue: 20 %tmp8 = tail call i32 @f( %struct.A* %d ) 21 ret i32 %tmp8 22 23UnifiedReturnBlock: 24 ret i32 0 25} 26 27declare i32 @f(%struct.A*) 28