mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Genericize tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10091 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
639b052e7b
commit
607c317488
@ -1,5 +1,3 @@
|
||||
; RUN: llvm-as < %s | lli -force-interpreter=false
|
||||
|
||||
int %main() {
|
||||
br label %Loop
|
||||
Loop:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user