blob: 1ed6054c21b0c9071878649f60b153f87326022b [file] [log] [blame]
Chris Lattnercf5dd042004-08-09 21:03:35 +00001; RUN: llvm-as < %s | opt -instcombine
2
3; This testcase should not send the instcombiner into an infinite loop!
4
5int %test(int %X) {
6 %Y = rem int %X, 0
7 ret int %Y
8}