When folding away a (shl (shr)) pair, we need to check that the bits that will BECOME...
[oota-llvm.git] / test / Transforms / InstCombine / 2008-01-27-FloatSelect.ll
1 ; RUN: opt < %s -instcombine -S | grep select
2
3 define double @fold(i1 %a, double %b) {
4 %s = select i1 %a, double 0., double 1.
5 %c = fdiv double %b, %s
6 ret double %c
7 }