1 ; RUN: llc < %s -mtriple=arm-apple-darwin -mattr=+v6,+vfp2 2 3 @accum = external global { double, double } ; <{ double, double }*> [#uses=1] 4 @.str = external constant [4 x i8] ; <[4 x i8]*> [#uses=1] 5 6 define i32 @main() { 7 entry: 8 br label %bb74.i 9 bb74.i: ; preds = %bb88.i, %bb74.i, %entry 10 br i1 false, label %bb88.i, label %bb74.i 11 bb88.i: ; preds = %bb74.i 12 br i1 false, label %mandel.exit, label %bb74.i 13 mandel.exit: ; preds = %bb88.i 14 %tmp2 = load volatile double* getelementptr ({ double, double }* @accum, i32 0, i32 0), align 8 ; <double> [#uses=1] 15 %tmp23 = fptosi double %tmp2 to i32 ; <i32> [#uses=1] 16 %tmp5 = tail call i32 (i8*, ...)* @printf( i8* getelementptr ([4 x i8]* @.str, i32 0, i32 0), i32 %tmp23 ) ; <i32> [#uses=0] 17 ret i32 0 18 } 19 20 declare i32 @printf(i8*, ...) 21