llvm-project/llvm/test/Transforms/InstCombine/2008-11-27-UDivNegative.ll

7 lines
128 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
}