Folding or(fcmp,fcmp) only works if the operands of the fcmps are the same fp type.
[oota-llvm.git] / test / Transforms / InstCombine / 2004-08-09-RemInfLoop.llx
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine
2
3 ; This testcase should not send the instcombiner into an infinite loop!
4
5 int %test(int %X) {
6         %Y = rem int %X, 0
7         ret int %Y
8 }