summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2008-11-27-UDivNegative.ll
blob: 397492300d0f4456fabde429980e10aaf7e1bac0 (plain)
1
2
3
4
5
6
; RUN: opt %s -instcombine | llvm-dis | not grep div

define i8 @test(i8 %x) readnone nounwind {
  %A = udiv i8 %x, 250
  ret i8 %A
}