From: Chris Lattner Date: Fri, 16 Dec 2005 06:24:55 +0000 (+0000) Subject: A truly trivial testcase to ensure sparcv8 doesn't get completely broken X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=504640333dce1370a69e85fc5549bce78ae1e855;p=oota-llvm.git A truly trivial testcase to ensure sparcv8 doesn't get completely broken again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24737 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/SparcV8/basictest.ll b/test/CodeGen/SparcV8/basictest.ll new file mode 100644 index 00000000000..043af046ead --- /dev/null +++ b/test/CodeGen/SparcV8/basictest.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | llc -march=sparcv8 + +int %test(int %X) { + %tmp.1 = add int %X, 1 ; [#uses=1] + ret int %tmp.1 +} diff --git a/test/CodeGen/SparcV8/dg.exp b/test/CodeGen/SparcV8/dg.exp new file mode 100644 index 00000000000..e326ea721c3 --- /dev/null +++ b/test/CodeGen/SparcV8/dg.exp @@ -0,0 +1,3 @@ +load_lib llvm-dg.exp + +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext