Dan Gohman | 3e054fe | 2009-09-08 22:34:10 +0000 | [diff] [blame] | 1 | ; RUN: opt %s -instcombine -S | not grep sdiv |
Dan Gohman | 1df3fd6 | 2008-09-10 23:30:57 +0000 | [diff] [blame] | 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 | } |