aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/XCore/basictest.ll
blob: 803ffcb74cc12fc06a14fd328f430650e5d37492 (plain)
1
2
3
4
5
6
; RUN: llvm-as < %s | llc -march=xcore

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