• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=x86 -mcpu=i386 | FileCheck %s
2; PR6679
3
4define float @foo(float* %col.2.0) {
5; CHECK: fucomp
6; CHECK-NOT: fucompi
7; CHECK: j
8; CHECK-NOT: fcmov
9  %tmp = load float, float* %col.2.0
10  %tmp16 = fcmp olt float %tmp, 0.000000e+00
11  %tmp20 = fsub float -0.000000e+00, %tmp
12  %iftmp.2.0 = select i1 %tmp16, float %tmp20, float %tmp
13  ret float %iftmp.2.0
14}
15