1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 06:22:51 +01:00
llvm-mirror/test/Regression/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll
Chris Lattner 9fcfadb0b2 This testcase causes the instruction combiner to go spiraling into
an infinite loop.

llvm-svn: 18669
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
}