Debian Codegraph @

llvm/test/CodeGen/PowerPC/fp-branch.ll

raw
1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2 ; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- | FileCheck %s
3
4 declare i1 @llvm.isunordered.f64(double, double)
5
6 define i1 @intcoord_cond_next55(double %tmp48.reload) {
7 ; CHECK-LABEL: intcoord_cond_next55:
8 ; CHECK: # %bb.0: # %newFuncRoot
9 ; CHECK-NEXT: lis 3, .LCPI0_0@ha
10 ; CHECK-NEXT: lfs 0, .LCPI0_0@l(3)
11 ; CHECK-NEXT: fcmpu 0, 1, 0
12 ; CHECK-NEXT: blt 0, .LBB0_2
13 ; CHECK-NEXT: # %bb.1: # %bb72.exitStub
14 ; CHECK-NEXT: li 3, 1
15 ; CHECK-NEXT: blr
16 ; CHECK-NEXT: .LBB0_2: # %cond_next62.exitStub
17 ; CHECK-NEXT: li 3, 0
18 ; CHECK-NEXT: blr
19 newFuncRoot:
20 br label %cond_next55
21
22 bb72.exitStub: ; preds = %cond_next55
23 ret i1 true
24
25 cond_next62.exitStub: ; preds = %cond_next55
26 ret i1 false
27
28 cond_next55: ; preds = %newFuncRoot
29 %tmp57 = fcmp oge double %tmp48.reload, 1.000000e+00 ; <i1> [#uses=1]
30 %tmp58 = fcmp uno double %tmp48.reload, 1.000000e+00 ; <i1> [#uses=1]
31 %tmp59 = or i1 %tmp57, %tmp58 ; <i1> [#uses=1]
32 br i1 %tmp59, label %bb72.exitStub, label %cond_next62.exitStub
33 }
34