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
This commit is contained in:
Chris Lattner 2005-12-16 06:24:55 +00:00
parent 03a83c90da
commit 504640333d
2 changed files with 9 additions and 0 deletions

View File

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

View File

@ -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