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