Changes in directory llvm/test/Transforms/LoopStrengthReduce:
dg.exp updated: 1.3 -> 1.4 dont-hoist-simple-loop-constants.ll updated: 1.2 -> 1.3 exit_compare_live_range.ll updated: 1.5 -> 1.6 use_postinc_value_outside_loop.ll updated: 1.4 -> 1.5 var_stride_used_by_compare.ll updated: 1.3 -> 1.4 --- Log message: For PR1319: http://llvm.org/PR1319 : Upgrade to use new Tcl exec based test harness. --- Diffs of the changes: (+13 -9) dg.exp | 4 ++-- dont-hoist-simple-loop-constants.ll | 4 +++- exit_compare_live_range.ll | 2 +- use_postinc_value_outside_loop.ll | 3 ++- var_stride_used_by_compare.ll | 9 +++++---- 5 files changed, 13 insertions(+), 9 deletions(-) Index: llvm/test/Transforms/LoopStrengthReduce/dg.exp diff -u llvm/test/Transforms/LoopStrengthReduce/dg.exp:1.3 llvm/test/Transforms/LoopStrengthReduce/dg.exp:1.4 --- llvm/test/Transforms/LoopStrengthReduce/dg.exp:1.3 Wed Apr 11 14:56:58 2007 +++ llvm/test/Transforms/LoopStrengthReduce/dg.exp Sun Apr 15 03:30:33 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/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll diff -u llvm/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll:1.2 llvm/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll:1.3 --- llvm/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll:1.2 Fri Dec 1 22:23:09 2006 +++ llvm/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll Sun Apr 15 03:30:33 2007 @@ -1,4 +1,6 @@ -; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | not grep 'cast uint 1 to uint' +; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | \ +; RUN: not grep {cast uint 1 to uint} +; END. ; The setlt wants to use a value that is incremented one more than the dominant ; IV. Don't insert the 1 outside the loop, preventing folding it into the add. Index: llvm/test/Transforms/LoopStrengthReduce/exit_compare_live_range.ll diff -u llvm/test/Transforms/LoopStrengthReduce/exit_compare_live_range.ll:1.5 llvm/test/Transforms/LoopStrengthReduce/exit_compare_live_range.ll:1.6 --- llvm/test/Transforms/LoopStrengthReduce/exit_compare_live_range.ll:1.5 Fri Jan 12 23:06:52 2007 +++ llvm/test/Transforms/LoopStrengthReduce/exit_compare_live_range.ll Sun Apr 15 03:30:33 2007 @@ -3,7 +3,7 @@ ; instruction immediately before the conditional branch. ; ; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | \ -; RUN: %prcontext 'br i1' 1 | grep icmp +; RUN: %prcontext {br i1} 1 | grep icmp void %foo(float* %D, uint %E) { entry: Index: llvm/test/Transforms/LoopStrengthReduce/use_postinc_value_outside_loop.ll diff -u llvm/test/Transforms/LoopStrengthReduce/use_postinc_value_outside_loop.ll:1.4 llvm/test/Transforms/LoopStrengthReduce/use_postinc_value_outside_loop.ll:1.5 --- llvm/test/Transforms/LoopStrengthReduce/use_postinc_value_outside_loop.ll:1.4 Sun Dec 31 00:01:59 2006 +++ llvm/test/Transforms/LoopStrengthReduce/use_postinc_value_outside_loop.ll Sun Apr 15 03:30:33 2007 @@ -1,4 +1,5 @@ -; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | grep 'add i32 %iv.*inc, 1' +; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | \ +; RUN: grep {add i32 %iv.*inc, 1} ; ; Make sure that the use of the IV outside of the loop (the store) uses the ; post incremented value of the IV, not the preincremented value. This Index: llvm/test/Transforms/LoopStrengthReduce/var_stride_used_by_compare.ll diff -u llvm/test/Transforms/LoopStrengthReduce/var_stride_used_by_compare.ll:1.3 llvm/test/Transforms/LoopStrengthReduce/var_stride_used_by_compare.ll:1.4 --- llvm/test/Transforms/LoopStrengthReduce/var_stride_used_by_compare.ll:1.3 Sun Dec 31 00:01:59 2006 +++ llvm/test/Transforms/LoopStrengthReduce/var_stride_used_by_compare.ll Sun Apr 15 03:30:33 2007 @@ -1,10 +1,11 @@ -; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis && - ; Base should not be i*3, it should be i*2. -; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | not grep 'mul.*%i, 3' && +; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | \ +; RUN: not grep {mul.*%i, 3} ; Indvar should not start at zero: -; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | not grep 'phi uint .* 0' +; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | \ +; RUN: not grep {phi uint .* 0} +; END. ; mul uint %i, 3 _______________________________________________ llvm-commits mailing list [EMAIL PROTECTED] http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits