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
This commit is contained in:
Chris Lattner 2004-12-08 22:18:35 +00:00
parent 833408d484
commit d5e4e1756f

View File

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