llvm-6502/test/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll
Chris Lattner d5e4e1756f This testcase causes the instruction combiner to go spiraling into
an infinite loop.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18669 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 22:18:35 +00:00

7 lines
98 B
LLVM

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