blob: 3db6ced572fe002a866e3b6067d57ed92693f570 [file] [log] [blame]
Tanya Lattner5ebaf3b2008-02-19 08:07:33 +00001; RUN: llvm-as < %s | llc -march=ppc32 | grep fcmp | count 1
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
Tanya Lattner5ebaf3b2008-02-19 08:07:33 +00003declare i1 @llvm.isunordered.f64(double, double)
Dan Gohmanf17a25c2007-07-18 16:29:46 +00004
Tanya Lattner5ebaf3b2008-02-19 08:07:33 +00005define i1 @intcoord_cond_next55(double %tmp48.reload) {
Dan Gohmanf17a25c2007-07-18 16:29:46 +00006newFuncRoot:
Tanya Lattner5ebaf3b2008-02-19 08:07:33 +00007 br label %cond_next55
Dan Gohmanf17a25c2007-07-18 16:29:46 +00008
Tanya Lattner5ebaf3b2008-02-19 08:07:33 +00009bb72.exitStub: ; preds = %cond_next55
10 ret i1 true
Dan Gohmanf17a25c2007-07-18 16:29:46 +000011
Tanya Lattner5ebaf3b2008-02-19 08:07:33 +000012cond_next62.exitStub: ; preds = %cond_next55
13 ret i1 false
Dan Gohmanf17a25c2007-07-18 16:29:46 +000014
Tanya Lattner5ebaf3b2008-02-19 08:07:33 +000015cond_next55: ; preds = %newFuncRoot
16 %tmp57 = fcmp oge double %tmp48.reload, 1.000000e+00 ; <i1> [#uses=1]
17 %tmp58 = fcmp uno double %tmp48.reload, 1.000000e+00 ; <i1> [#uses=1]
18 %tmp59 = or i1 %tmp57, %tmp58 ; <i1> [#uses=1]
19 br i1 %tmp59, label %bb72.exitStub, label %cond_next62.exitStub
Dan Gohmanf17a25c2007-07-18 16:29:46 +000020}
Tanya Lattner5ebaf3b2008-02-19 08:07:33 +000021