1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

A truly trivial testcase to ensure sparcv8 doesn't get completely broken

again.

llvm-svn: 24737
This commit is contained in:
Chris Lattner 2005-12-16 06:24:55 +00:00
parent 44de5f7807
commit bf9467792f
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