[llvm-commits] CVS: llvm/test/Transforms/TailDup/dg.exp if-tail-dup.ll

Reid Spencer reid at x10sys.com
Sat Apr 14 22:00:16 PDT 2007



Changes in directory llvm/test/Transforms/TailDup:

dg.exp updated: 1.4 -> 1.5
if-tail-dup.ll updated: 1.2 -> 1.3
---
Log message:

For PR1319: http://llvm.org/PR1319 :
Conver to new test system.


---
Diffs of the changes:  (+7 -4)

 dg.exp         |    4 ++--
 if-tail-dup.ll |    7 +++++--
 2 files changed, 7 insertions(+), 4 deletions(-)


Index: llvm/test/Transforms/TailDup/dg.exp
diff -u llvm/test/Transforms/TailDup/dg.exp:1.4 llvm/test/Transforms/TailDup/dg.exp:1.5
--- llvm/test/Transforms/TailDup/dg.exp:1.4	Wed Apr 11 14:56:59 2007
+++ llvm/test/Transforms/TailDup/dg.exp	Sat Apr 14 23:59:55 2007
@@ -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}]]


Index: llvm/test/Transforms/TailDup/if-tail-dup.ll
diff -u llvm/test/Transforms/TailDup/if-tail-dup.ll:1.2 llvm/test/Transforms/TailDup/if-tail-dup.ll:1.3
--- llvm/test/Transforms/TailDup/if-tail-dup.ll:1.2	Fri Dec  1 22:23:10 2006
+++ llvm/test/Transforms/TailDup/if-tail-dup.ll	Sat Apr 14 23:59:55 2007
@@ -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) {






More information about the llvm-commits mailing list