blob: 98b35fe3cba6ae1d02bc73e5fd2fdc569bd8d959 [file] [log] [blame]
; RUN: llvm-upgrade < %s | llvm-as | 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
}