• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
6define i32 @main() {
7entry:
8	br label %bb74.i
9bb74.i:		; preds = %bb88.i, %bb74.i, %entry
10	br i1 false, label %bb88.i, label %bb74.i
11bb88.i:		; preds = %bb74.i
12	br i1 false, label %mandel.exit, label %bb74.i
13mandel.exit:		; preds = %bb88.i
14	%tmp2 = load volatile double, double* getelementptr ({ double, double }, { 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], [4 x i8]* @.str, i32 0, i32 0), i32 %tmp23 )		; <i32> [#uses=0]
17	ret i32 0
18}
19
20declare i32 @printf(i8*, ...)
21