• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple=s390x-linux-gnu -mcpu=z14 -O3 -mattr=soft-float < %s  | FileCheck %s
2;
3; Check that this function with soft-float does not result in a s390.tdc
4; intrinsic (which cannot be handled by SoftenFloatOperand).
5
6define void @fun(float %arg) {
7; CHECK-LABEL: fun:
8; CHECK: cijl
9bb:
10  %tmp = bitcast float %arg to i32
11  br label %bb1
12
13bb1:                                              ; preds = %bb
14  %tmp2 = icmp sgt i32 %tmp, -1
15  br i1 %tmp2, label %bb3, label %bb4
16
17bb3:                                              ; preds = %bb1
18  unreachable
19
20bb4:                                              ; preds = %bb1
21  unreachable
22}
23