Genericize tests

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10091 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-11-19 19:44:28 +00:00
parent 639b052e7b
commit 607c317488
4 changed files with 2 additions and 25 deletions

View File

@ -1,5 +1,3 @@
; RUN: llvm-as < %s | lli -force-interpreter=false
int %main() {
br label %Loop
Loop:

View File

@ -1,9 +1,6 @@
; This testcase shoudl return with an exit code of 1.
;
; RUN: llvm-as < %s | not lli -force-interpreter=false
target endian = little
target pointersize = 32
; RUN: llvm-as < %s | not lli
%test = global long 0
implementation

View File

@ -1,7 +1,4 @@
; RUN: llvm-as < %s | lli -force-interpreter=false - test
target endian = little
target pointersize = 32
; RUN: llvm-as < %s | lli - test
implementation

View File

@ -1,15 +0,0 @@
; RUN: llvm-as < %s | llc -march=x86
target endian = big ; We need the byteswaps for this test!
target pointersize = 64
implementation
long %main(long %s.1, long %e.1, ushort* %foo) {
%tmp.28 = load ushort* %foo
%tmp.39 = cast uint 0 to ushort*
%tmp.42 = sub long %e.1, %s.1
%tmp.441 = setge long %tmp.42, 0
%tmp.54 = getelementptr ushort* %tmp.39, long 0
ret long %s.1
}