llvm-project/llvm/test/Regression/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll

7 lines
98 B
LLVM

; RUN: llvm-as < %s | opt -instcombine
int %test(int %X) {
%Y = rem int %X, undef
ret int %Y
}