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

7 lines
146 B
LLVM

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