1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/CodeGen/XCore/basictest.ll
Richard Osborne f4fb6eaf71 Add basic test for XCore backend
llvm-svn: 58841
2008-11-07 11:24:12 +00:00

7 lines
109 B
LLVM

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