llvm-6502/test/Transforms/InstCombine/2008-11-27-UDivNegative.ll
2009-09-08 22:34:10 +00:00

7 lines
126 B
LLVM

; RUN: opt %s -instcombine -S | not grep div
define i8 @test(i8 %x) readnone nounwind {
%A = udiv i8 %x, 250
ret i8 %A
}