mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 22:07:27 +00:00
For PR1319:
Conver to new test system. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36045 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
12ca929ca0
commit
950c694e94
@ -1,3 +1,3 @@
|
||||
load_lib llvm-dg.exp
|
||||
load_lib llvm.exp
|
||||
|
||||
llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -tailcallelim | llvm-dis | \
|
||||
; RUN: grep 'call i32 @foo'
|
||||
; RUN: grep {call i32 @foo}
|
||||
|
||||
declare void %bar(int*)
|
||||
int %foo(uint %N) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -tailcallelim | llvm-dis | \
|
||||
; RUN: %prcontext alloca 1 | grep 'i32 @foo'
|
||||
; RUN: $prcontext alloca 1 | grep {i32 @foo}
|
||||
|
||||
declare void %bar(int*)
|
||||
int %foo() {
|
||||
|
@ -1,4 +1,5 @@
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -tailcallelim | llvm-dis | grep 'tail call void @foo'
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -tailcallelim | llvm-dis | \
|
||||
; RUN: grep {tail call void @foo}
|
||||
|
||||
declare void %foo()
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
load_lib llvm-dg.exp
|
||||
load_lib llvm.exp
|
||||
|
||||
llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
|
||||
|
@ -1,5 +1,8 @@
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate | llc -march=x86 | grep 'je ' &&
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate | llc -march=x86 | not grep jmp
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate | llc -march=x86 | \
|
||||
; RUN: grep {je } &&
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate | llc -march=x86 | \
|
||||
; RUN: not grep jmp
|
||||
; END.
|
||||
; This should have no unconditional jumps in it. The C source is:
|
||||
|
||||
;void foo(int c, int* P) {
|
||||
|
Loading…
Reference in New Issue
Block a user