llvm-6502/test/CodeGen/SparcV8/basictest.ll
2005-12-16 06:24:55 +00:00

7 lines
123 B
LLVM

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