blob: 120284f80c5caab1cfbf07c7515793f9a1585395 [file] [log] [blame]
Evan Chengd04e8ec2007-07-11 19:29:05 +00001; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -mcpu=athlon -relocation-model=pic
2; 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]
30 %tmp432 = sub float %tmp430, %tmp408 ; <float> [#uses=1]
31 %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}