aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2004-08-09-RemInfLoop.llx
blob: 1ed6054c21b0c9071878649f60b153f87326022b (plain)
1
2
3
4
5
6
7
8
; RUN: llvm-as < %s | opt -instcombine

; This testcase should not send the instcombiner into an infinite loop!

int %test(int %X) {
	%Y = rem int %X, 0
	ret int %Y
}