blob: d611677942c2430b948bfa6f16c036505c280c42 [file] [log] [blame]
Dan Gohman36a09472009-09-08 23:54:48 +00001; RUN: llc < %s -mtriple=i686-pc-linux-gnu -mcpu=athlon -relocation-model=pic
Evan Chengd04e8ec2007-07-11 19:29:05 +00002; PR1545
3
4@.str97 = external constant [56 x i8] ; <[56 x i8]*> [#uses=1]
5
6declare void @PR_LogPrint(i8*, ...)
7
8define i32 @_ZN13nsPrintEngine19SetupToPrintContentEP16nsIDeviceContextP12nsIDOMWindow() {
9entry:
10 br i1 false, label %cond_true122, label %cond_next453
11
12cond_true122: ; preds = %entry
13 br i1 false, label %bb164, label %cond_true136
14
15cond_true136: ; preds = %cond_true122
16 ret i32 0
17
18bb164: ; preds = %cond_true122
19 br i1 false, label %bb383, label %cond_true354
20
21cond_true354: ; preds = %bb164
22 ret i32 0
23
24bb383: ; preds = %bb164
25 %tmp408 = load float* null ; <float> [#uses=2]
26 br i1 false, label %cond_true425, label %cond_next443
27
28cond_true425: ; preds = %bb383
29 %tmp430 = load float* null ; <float> [#uses=1]
Dan Gohmanae3a0be2009-06-04 22:49:04 +000030 %tmp432 = fsub float %tmp430, %tmp408 ; <float> [#uses=1]
Evan Chengd04e8ec2007-07-11 19:29:05 +000031 %tmp432433 = fpext float %tmp432 to double ; <double> [#uses=1]
32 %tmp434435 = fpext float %tmp408 to double ; <double> [#uses=1]
33 call void (i8*, ...)* @PR_LogPrint( i8* getelementptr ([56 x i8]* @.str97, i32 0, i32 0), double 0.000000e+00, double %tmp434435, double %tmp432433 )
34 ret i32 0
35
36cond_next443: ; preds = %bb383
37 ret i32 0
38
39cond_next453: ; preds = %entry
40 ret i32 0
41}