llvm-project/llvm/test/CodeGen/SPARC/basictest.ll

7 lines
109 B
LLVM
Raw Normal View History

2007-03-28 09:27:12 +08:00
; RUN: llvm-as < %s | llc -march=sparc
2006-02-05 13:52:55 +08:00
2007-03-28 09:27:12 +08:00
define i32 @test(i32 %X) {
%tmp.1 = add i32 %X, 1
ret i32 %tmp.1
2006-02-05 13:52:55 +08:00
}