aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll
blob: 7f83fa837de25528e7adff8c4583010ea3efaa77 (plain)
1
2
3
4
5
6
; RUN: llvm-as < %s | opt -instcombine

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