Changes in directory llvm/test/Transforms/Reassociate:

2005-09-01-ArrayOutOfBounds.ll updated: 1.3 -> 1.4
dg.exp updated: 1.4 -> 1.5
mul-neg-add.ll updated: 1.2 -> 1.3
shifttest.ll updated: 1.4 -> 1.5
---
Log message:

For PR1319: http://llvm.org/PR1319 :
Upgrade to use new Tcl exec based test harness. This exposes 3 bugs that
were previously not being reported:
test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll
test/Transforms/GlobalOpt/memset.ll
test/Transforms/IndVarsSimplify/exit_value_tests.llx


---
Diffs of the changes:  (+8 -5)

 2005-09-01-ArrayOutOfBounds.ll |    3 ++-
 dg.exp                         |    4 ++--
 mul-neg-add.ll                 |    3 ++-
 shifttest.ll                   |    3 ++-
 4 files changed, 8 insertions(+), 5 deletions(-)


Index: llvm/test/Transforms/Reassociate/2005-09-01-ArrayOutOfBounds.ll
diff -u llvm/test/Transforms/Reassociate/2005-09-01-ArrayOutOfBounds.ll:1.3 
llvm/test/Transforms/Reassociate/2005-09-01-ArrayOutOfBounds.ll:1.4
--- llvm/test/Transforms/Reassociate/2005-09-01-ArrayOutOfBounds.ll:1.3 Sun Dec 
31 00:01:59 2006
+++ llvm/test/Transforms/Reassociate/2005-09-01-ArrayOutOfBounds.ll     Sun Apr 
15 04:21:47 2007
@@ -1,4 +1,5 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -reassociate -instcombine | llvm-dis 
| grep 'ret i32 0'
+; RUN: llvm-upgrade < %s | llvm-as | opt -reassociate -instcombine | llvm-dis 
|\
+; RUN:   grep {ret i32 0}
 
 int %f(int %a0, int %a1, int %a2, int %a3, int %a4) {
        %tmp.2 = add int %a4, %a3               ; <int> [#uses=1]


Index: llvm/test/Transforms/Reassociate/dg.exp
diff -u llvm/test/Transforms/Reassociate/dg.exp:1.4 
llvm/test/Transforms/Reassociate/dg.exp:1.5
--- llvm/test/Transforms/Reassociate/dg.exp:1.4 Wed Apr 11 14:56:59 2007
+++ llvm/test/Transforms/Reassociate/dg.exp     Sun Apr 15 04:21:47 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/Reassociate/mul-neg-add.ll
diff -u llvm/test/Transforms/Reassociate/mul-neg-add.ll:1.2 
llvm/test/Transforms/Reassociate/mul-neg-add.ll:1.3
--- llvm/test/Transforms/Reassociate/mul-neg-add.ll:1.2 Fri Dec  1 22:23:10 2006
+++ llvm/test/Transforms/Reassociate/mul-neg-add.ll     Sun Apr 15 04:21:47 2007
@@ -1,4 +1,5 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -reassociate -instcombine | llvm-dis 
| not grep 'sub int 0'
+; RUN: llvm-upgrade < %s | llvm-as | opt -reassociate -instcombine | llvm-dis 
|\
+; RUN:   not grep {sub i32 0}
 
 int %test(int %X, int %Y, int %Z) {
        %A = sub int 0, %X


Index: llvm/test/Transforms/Reassociate/shifttest.ll
diff -u llvm/test/Transforms/Reassociate/shifttest.ll:1.4 
llvm/test/Transforms/Reassociate/shifttest.ll:1.5
--- llvm/test/Transforms/Reassociate/shifttest.ll:1.4   Thu Feb  1 20:16:22 2007
+++ llvm/test/Transforms/Reassociate/shifttest.ll       Sun Apr 15 04:21:47 2007
@@ -1,6 +1,7 @@
 ; With shl->mul reassociation, we can see that this is (shl A, 9) * A
 ;
-; RUN: llvm-upgrade < %s | llvm-as | opt -reassociate -instcombine | llvm-dis 
| grep 'shl .*, 9'
+; RUN: llvm-upgrade < %s | llvm-as | opt -reassociate -instcombine | llvm-dis 
|\
+; RUN:    grep {shl .*, 9}
 
 int %test(int %A, int %B) {
        %X = shl int %A, ubyte 5



_______________________________________________
llvm-commits mailing list
[EMAIL PROTECTED]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to