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

7 lines
121 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | llc -march=sparc
int %test(int %X) {
%tmp.1 = add int %X, 1 ; <int> [#uses=1]
ret int %tmp.1
}