These casts should turn into gep instructions
[oota-llvm.git] / test / Transforms / InstCombine / 2005-06-16-RangeCrash.ll
1 ; RUN: llvm-as < %s | opt -instcombine -disable-output
2 ; PR585
3 bool %test() {
4         %tmp.26 = div int 0, -2147483648                ; <int> [#uses=1]
5         %tmp.27 = seteq int %tmp.26, 0          ; <bool> [#uses=1]
6         ret bool %tmp.27
7 }