brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.8 KiB · 299132b Raw
53 lines · plain
1; RUN: llc < %s -mtriple=thumbv7-apple-darwin9 -mcpu=cortex-a82 3%struct.FILE = type { ptr, i32, i32, i16, i16, %struct.__sbuf, i32, ptr, ptr, ptr, ptr, ptr, %struct.__sbuf, ptr, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, i64 }4%struct.__sFILEX = type opaque5%struct.__sbuf = type { ptr, i32 }6 7declare i32 @fgetc(ptr nocapture) nounwind8 9define i32 @main(i32 %argc, ptr nocapture %argv) nounwind {10entry:11  br i1 undef, label %bb, label %bb112 13bb:                                               ; preds = %entry14  unreachable15 16bb1:                                              ; preds = %entry17  br i1 undef, label %bb.i1, label %bb1.i218 19bb.i1:                                            ; preds = %bb120  unreachable21 22bb1.i2:                                           ; preds = %bb123  %0 = call  i32 @fgetc(ptr undef) nounwind ; <i32> [#uses=0]24  br i1 undef, label %bb2.i3, label %bb3.i425 26bb2.i3:                                           ; preds = %bb1.i227  br i1 undef, label %bb4.i, label %bb3.i428 29bb3.i4:                                           ; preds = %bb2.i3, %bb1.i230  unreachable31 32bb4.i:                                            ; preds = %bb2.i333  br i1 undef, label %bb5.i, label %get_image.exit34 35bb5.i:                                            ; preds = %bb4.i36  unreachable37 38get_image.exit:                                   ; preds = %bb4.i39  br i1 undef, label %bb28, label %bb2740 41bb27:                                             ; preds = %get_image.exit42  br label %bb.i43 44bb.i:                                             ; preds = %bb.i, %bb2745  %1 = fptrunc double undef to float              ; <float> [#uses=1]46  %2 = fptoui float %1 to i8                      ; <i8> [#uses=1]47  store i8 %2, ptr undef, align 148  br label %bb.i49 50bb28:                                             ; preds = %get_image.exit51  unreachable52}53