aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2002-12-23-SubProblem.llx
blob: 3d89378609970ffdeee5b8705fdc4c666101c13f (plain)
1
2
3
4
5
6
7
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -regalloc=simple

int %main(int %B) {
	;%B = add int 0, 1
	%R = sub int %B, 1  ; %r = 0
	ret int %R
}