llvm.org GIT mirror llvm / release_20 test / CodeGen / SPARC / basictest.ll
release_20

Tree @release_20 (Download .tar.gz)

basictest.ll @release_20raw · history · blame

1
2
3
4
5
6
; RUN: llvm-as < %s | llc -march=sparc

define i32 @test(i32 %X) {
	%tmp.1 = add i32 %X, 1
	ret i32 %tmp.1
}