Home | History | Annotate | Download | only in InstCombine
      1 ; RUN: opt < %s -instcombine -S | FileCheck %s
      2 ; CHECK: select
      3 
      4 define double @fold(i1 %a, double %b) {
      5 %s = select i1 %a, double 0., double 1.
      6 %c = fdiv double %b, %s
      7 ret double %c
      8 }
      9