blob: 1ed6054c21b0c9071878649f60b153f87326022b [file] [log] [blame]
; RUN: llvm-as < %s | opt -instcombine
; This testcase should not send the instcombiner into an infinite loop!
int %test(int %X) {
%Y = rem int %X, 0
ret int %Y
}