Dan Gohman | 1880092 | 2009-09-11 18:01:28 +0000 | [diff] [blame] | 1 | ; RUN: opt < %s -instcombine -S | not grep div |
Nick Lewycky | 4ab50b9 | 2008-11-27 22:41:10 +0000 | [diff] [blame] | 2 | |
3 | define i8 @test(i8 %x) readnone nounwind { | ||||
4 | %A = udiv i8 %x, 250 | ||||
5 | ret i8 %A | ||||
6 | } |