summaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/2008-11-27-UDivNegative.ll
blob: 6a6b5f386347adb1b1b2a6c950fcbb301d2447da (plain)
1
2
3
4
5
6
; 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
}
OpenPOWER on IntegriCloud