diff options
author | Chris Lattner <sabre@nondot.org> | 2006-02-05 05:52:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-02-05 05:52:55 +0000 |
commit | 7ce1bbf05d1160231306e529773ef96a56d8e94e (patch) | |
tree | bbf45a0dc2252bd9a246bcca15317cce7f22120c /test/CodeGen/SPARC/basictest.ll | |
parent | 7c90f73a1b06040d971a3dd95a491031ae6238d5 (diff) |
move V8 testcases here
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SPARC/basictest.ll')
-rw-r--r-- | test/CodeGen/SPARC/basictest.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/SPARC/basictest.ll b/test/CodeGen/SPARC/basictest.ll new file mode 100644 index 0000000000..274f2ce80b --- /dev/null +++ b/test/CodeGen/SPARC/basictest.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | llc -march=sparc + +int %test(int %X) { + %tmp.1 = add int %X, 1 ; <int> [#uses=1] + ret int %tmp.1 +} |