[llvm-commits] CVS: llvm/test/Transforms/IndVarsSimplify/2005-02-26-ExitValueCompute.ll 2006-03-31-NegativeStride.ll 2007-01-06-TripCount.ll 2007-01-08-X86-64-Pointer.ll dg.exp exit_value_tests.llx loop_evaluate_3.ll loop_evaluate_4.ll variable-stride-ivs.ll
Reid Spencer
reid at x10sys.com
Sun Apr 15 01:32:00 PDT 2007
Changes in directory llvm/test/Transforms/IndVarsSimplify:
2005-02-26-ExitValueCompute.ll updated: 1.3 -> 1.4
2006-03-31-NegativeStride.ll updated: 1.3 -> 1.4
2007-01-06-TripCount.ll updated: 1.6 -> 1.7
2007-01-08-X86-64-Pointer.ll updated: 1.3 -> 1.4
dg.exp updated: 1.4 -> 1.5
exit_value_tests.llx updated: 1.3 -> 1.4
loop_evaluate_3.ll updated: 1.1 -> 1.2
loop_evaluate_4.ll updated: 1.1 -> 1.2
variable-stride-ivs.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: (+17 -13)
2005-02-26-ExitValueCompute.ll | 3 ++-
2006-03-31-NegativeStride.ll | 5 +++--
2007-01-06-TripCount.ll | 3 +--
2007-01-08-X86-64-Pointer.ll | 4 ++--
dg.exp | 4 ++--
exit_value_tests.llx | 3 ++-
loop_evaluate_3.ll | 2 +-
loop_evaluate_4.ll | 2 +-
variable-stride-ivs.ll | 4 +++-
9 files changed, 17 insertions(+), 13 deletions(-)
Index: llvm/test/Transforms/IndVarsSimplify/2005-02-26-ExitValueCompute.ll
diff -u llvm/test/Transforms/IndVarsSimplify/2005-02-26-ExitValueCompute.ll:1.3 llvm/test/Transforms/IndVarsSimplify/2005-02-26-ExitValueCompute.ll:1.4
--- llvm/test/Transforms/IndVarsSimplify/2005-02-26-ExitValueCompute.ll:1.3 Sun Dec 31 00:01:59 2006
+++ llvm/test/Transforms/IndVarsSimplify/2005-02-26-ExitValueCompute.ll Sun Apr 15 03:30:32 2007
@@ -1,4 +1,5 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -indvars | llvm-dis | grep 'ret i32 152'
+; RUN: llvm-upgrade < %s | llvm-as | opt -indvars | llvm-dis | \
+; RUN: grep {ret i32 152}
int %main() {
entry:
Index: llvm/test/Transforms/IndVarsSimplify/2006-03-31-NegativeStride.ll
diff -u llvm/test/Transforms/IndVarsSimplify/2006-03-31-NegativeStride.ll:1.3 llvm/test/Transforms/IndVarsSimplify/2006-03-31-NegativeStride.ll:1.4
--- llvm/test/Transforms/IndVarsSimplify/2006-03-31-NegativeStride.ll:1.3 Sun Dec 31 00:01:59 2006
+++ llvm/test/Transforms/IndVarsSimplify/2006-03-31-NegativeStride.ll Sun Apr 15 03:30:32 2007
@@ -1,7 +1,8 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -indvars | llvm-dis | grep 'ret i32 27'
+; PR726
+; RUN: llvm-upgrade < %s | llvm-as | opt -indvars | llvm-dis | \
+; RUN: grep {ret i32 27}
; Make sure to compute the right exit value based on negative strides.
-; PR726
int %test() {
entry:
Index: llvm/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll
diff -u llvm/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll:1.6 llvm/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll:1.7
--- llvm/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll:1.6 Tue Mar 27 21:38:26 2007
+++ llvm/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll Sun Apr 15 03:30:32 2007
@@ -1,6 +1,5 @@
-; RUN: llvm-as < %s | opt -indvars -disable-output &&
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | not grep 'ret i32 0'
; PR1015
+; RUN: llvm-as < %s | opt -indvars | llvm-dis | not grep {ret i32 0}
target datalayout = "e-p:32:32"
target triple = "i686-apple-darwin8"
Index: llvm/test/Transforms/IndVarsSimplify/2007-01-08-X86-64-Pointer.ll
diff -u llvm/test/Transforms/IndVarsSimplify/2007-01-08-X86-64-Pointer.ll:1.3 llvm/test/Transforms/IndVarsSimplify/2007-01-08-X86-64-Pointer.ll:1.4
--- llvm/test/Transforms/IndVarsSimplify/2007-01-08-X86-64-Pointer.ll:1.3 Fri Jan 26 02:25:06 2007
+++ llvm/test/Transforms/IndVarsSimplify/2007-01-08-X86-64-Pointer.ll Sun Apr 15 03:30:32 2007
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | grep '(%rdi,%rax,8)' &&
-; RUN: llvm-as < %s | llc -march=x86-64 | not grep 'addq.*8'
+; RUN: llvm-as < %s | llc -march=x86-64 | grep {(%rdi,%rax,8)}
+; RUN: llvm-as < %s | llc -march=x86-64 | not grep {addq.*8}
define void @foo(double* %y) {
entry:
Index: llvm/test/Transforms/IndVarsSimplify/dg.exp
diff -u llvm/test/Transforms/IndVarsSimplify/dg.exp:1.4 llvm/test/Transforms/IndVarsSimplify/dg.exp:1.5
--- llvm/test/Transforms/IndVarsSimplify/dg.exp:1.4 Wed Apr 11 14:56:58 2007
+++ llvm/test/Transforms/IndVarsSimplify/dg.exp Sun Apr 15 03:30:32 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/IndVarsSimplify/exit_value_tests.llx
diff -u llvm/test/Transforms/IndVarsSimplify/exit_value_tests.llx:1.3 llvm/test/Transforms/IndVarsSimplify/exit_value_tests.llx:1.4
--- llvm/test/Transforms/IndVarsSimplify/exit_value_tests.llx:1.3 Fri Dec 1 22:23:09 2006
+++ llvm/test/Transforms/IndVarsSimplify/exit_value_tests.llx Sun Apr 15 03:30:32 2007
@@ -2,7 +2,8 @@
; these loops all have predictable exit values we can replace the use outside
; of the loop with a closed-form computation, making the loop dead.
;
-; RUN: llvm-upgrade < %s | llvm-as | opt -indvars -adce -simplifycfg | llvm-dis | not grep br
+; RUN: llvm-upgrade < %s | llvm-as | opt -indvars -adce -simplifycfg | \
+; RUN: llvm-dis | not grep br
int %polynomial_constant() {
br label %Loop
Index: llvm/test/Transforms/IndVarsSimplify/loop_evaluate_3.ll
diff -u llvm/test/Transforms/IndVarsSimplify/loop_evaluate_3.ll:1.1 llvm/test/Transforms/IndVarsSimplify/loop_evaluate_3.ll:1.2
--- llvm/test/Transforms/IndVarsSimplify/loop_evaluate_3.ll:1.1 Sat Mar 3 18:54:06 2007
+++ llvm/test/Transforms/IndVarsSimplify/loop_evaluate_3.ll Sun Apr 15 03:30:32 2007
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep 'ret i32 600000'
+; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep {ret i32 600000}
; PR1179
define i32 @foo() {
Index: llvm/test/Transforms/IndVarsSimplify/loop_evaluate_4.ll
diff -u llvm/test/Transforms/IndVarsSimplify/loop_evaluate_4.ll:1.1 llvm/test/Transforms/IndVarsSimplify/loop_evaluate_4.ll:1.2
--- llvm/test/Transforms/IndVarsSimplify/loop_evaluate_4.ll:1.1 Sat Mar 3 18:54:06 2007
+++ llvm/test/Transforms/IndVarsSimplify/loop_evaluate_4.ll Sun Apr 15 03:30:32 2007
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep 'ret i32 9900'
+; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep {ret i32 9900}
; PR1179
define i32 @test4() {
Index: llvm/test/Transforms/IndVarsSimplify/variable-stride-ivs.ll
diff -u llvm/test/Transforms/IndVarsSimplify/variable-stride-ivs.ll:1.3 llvm/test/Transforms/IndVarsSimplify/variable-stride-ivs.ll:1.4
--- llvm/test/Transforms/IndVarsSimplify/variable-stride-ivs.ll:1.3 Sun Dec 31 00:01:59 2006
+++ llvm/test/Transforms/IndVarsSimplify/variable-stride-ivs.ll Sun Apr 15 03:30:32 2007
@@ -1,4 +1,6 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -indvars -instcombine | llvm-dis | grep 'store i32 0'
+; RUN: llvm-upgrade < %s | llvm-as | opt -indvars -instcombine | llvm-dis | \
+; RUN: grep {store i32 0}
+; END.
; Test that -indvars can reduce variable stride IVs. If it can reduce variable
; stride iv's, it will make %iv. and %m.0.0 isomorphic to each other without
; cycles, allowing the tmp.21 subtraction to be eliminated.
More information about the llvm-commits
mailing list