llvm-6502/test/CodeGen/SPARC/basictest.ll
2006-12-02 04:23:10 +00:00

7 lines
136 B
LLVM

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