blob: f5857563745b64c4290774e224cff9b17eed2a39 [file] [log] [blame]
Bill Schmidt32e9c642014-10-17 01:41:22 +00001; RUN: llc < %s -mattr=-vsx -march=ppc32 | grep fcmp | count 1
Chris Lattnerfdb64512006-10-31 23:05:16 +00002
Tanya Lattnera99d8b52008-02-19 08:07:33 +00003declare i1 @llvm.isunordered.f64(double, double)
Chris Lattnerfdb64512006-10-31 23:05:16 +00004
Tanya Lattnera99d8b52008-02-19 08:07:33 +00005define i1 @intcoord_cond_next55(double %tmp48.reload) {
Chris Lattnerfdb64512006-10-31 23:05:16 +00006newFuncRoot:
Tanya Lattnera99d8b52008-02-19 08:07:33 +00007 br label %cond_next55
Chris Lattnerfdb64512006-10-31 23:05:16 +00008
Tanya Lattnera99d8b52008-02-19 08:07:33 +00009bb72.exitStub: ; preds = %cond_next55
10 ret i1 true
Chris Lattnerfdb64512006-10-31 23:05:16 +000011
Tanya Lattnera99d8b52008-02-19 08:07:33 +000012cond_next62.exitStub: ; preds = %cond_next55
13 ret i1 false
Chris Lattnerfdb64512006-10-31 23:05:16 +000014
Tanya Lattnera99d8b52008-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
Chris Lattnerfdb64512006-10-31 23:05:16 +000020}
Tanya Lattnera99d8b52008-02-19 08:07:33 +000021