This implements the second half of the fix for PR3290, handling
[oota-llvm.git] / test / Transforms / InstCombine / div-cmp-overflow.ll
1 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep sdiv
2 ; PR2740
3
4 define i1 @func_75(i32 %i2) nounwind {
5         %i3 = sdiv i32 %i2, -1328634635
6         %i4 = icmp eq i32 %i3, -1
7         ret i1 %i4
8 }