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

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