Dan Gohman | 1df3fd6 | 2008-09-10 23:30:57 +0000 | [diff] [blame^] | 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 | } |