aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2002-12-23-SubProblem.llx
blob: 5f5a4cffd17d9c288b40ed491d0b790438b757ba (plain)
1
2
3
4
5
6
7
; RUN: llvm-as < %s | lli -force-interpreter=false -regalloc=simple

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