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:
Reid Spencer 2007-04-15 05:03:58 +00:00
parent 12ca929ca0
commit 950c694e94
6 changed files with 13 additions and 9 deletions

View File

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

View File

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

View File

@ -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() {

View File

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

View File

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

View File

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