llvm.org GIT mirror llvm / release_21 test / CodeGen / X86 / 2002-12-23-SubProblem.llx
release_21

Tree @release_21 (Download .tar.gz)

2002-12-23-SubProblem.llx @release_21raw · history · blame

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
}