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