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

7 lines
109 B
LLVM

; RUN: llvm-as < %s | llc -march=sparc
define i32 @test(i32 %X) {
%tmp.1 = add i32 %X, 1
ret i32 %tmp.1
}