This testcase causes the instruction combiner to go spiraling into
[oota-llvm.git] / test / Transforms / InstCombine / 2004-12-08-RemInfiniteLoop.ll
1 ; RUN: llvm-as < %s | opt -instcombine
2
3 int %test(int %X) {
4         %Y = rem int %X, undef
5         ret int %Y
6 }