[llvm-commits] CVS: llvm/test/Transforms/LICM/2003-02-27-PreheaderProblem.ll dg.exp sink_multiple.ll sink_multiple_exits.ll sink_only_some_exits.ll
Reid Spencer
reid at x10sys.com
Sun Apr 15 01:32:03 PDT 2007
Changes in directory llvm/test/Transforms/LICM:
2003-02-27-PreheaderProblem.ll updated: 1.4 -> 1.5
dg.exp updated: 1.4 -> 1.5
sink_multiple.ll updated: 1.4 -> 1.5
sink_multiple_exits.ll updated: 1.4 -> 1.5
sink_only_some_exits.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: (+10 -6)
2003-02-27-PreheaderProblem.ll | 3 ++-
dg.exp | 4 ++--
sink_multiple.ll | 3 ++-
sink_multiple_exits.ll | 3 ++-
sink_only_some_exits.ll | 3 ++-
5 files changed, 10 insertions(+), 6 deletions(-)
Index: llvm/test/Transforms/LICM/2003-02-27-PreheaderProblem.ll
diff -u llvm/test/Transforms/LICM/2003-02-27-PreheaderProblem.ll:1.4 llvm/test/Transforms/LICM/2003-02-27-PreheaderProblem.ll:1.5
--- llvm/test/Transforms/LICM/2003-02-27-PreheaderProblem.ll:1.4 Fri Dec 1 22:23:09 2006
+++ llvm/test/Transforms/LICM/2003-02-27-PreheaderProblem.ll Sun Apr 15 03:30:32 2007
@@ -3,7 +3,8 @@
; happens because preheader insertion doesn't insert a preheader for this
; case... bad.
-; RUN: llvm-upgrade < %s | llvm-as | opt -licm -adce -simplifycfg | llvm-dis | not grep 'br '
+; RUN: llvm-upgrade < %s | llvm-as | opt -licm -adce -simplifycfg | llvm-dis | \
+; RUN: not grep {br }
int %main(int %argc) {
br label %bb5
Index: llvm/test/Transforms/LICM/dg.exp
diff -u llvm/test/Transforms/LICM/dg.exp:1.4 llvm/test/Transforms/LICM/dg.exp:1.5
--- llvm/test/Transforms/LICM/dg.exp:1.4 Wed Apr 11 14:56:58 2007
+++ llvm/test/Transforms/LICM/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/LICM/sink_multiple.ll
diff -u llvm/test/Transforms/LICM/sink_multiple.ll:1.4 llvm/test/Transforms/LICM/sink_multiple.ll:1.5
--- llvm/test/Transforms/LICM/sink_multiple.ll:1.4 Fri Dec 1 22:23:09 2006
+++ llvm/test/Transforms/LICM/sink_multiple.ll Sun Apr 15 03:30:32 2007
@@ -3,7 +3,8 @@
; instructions from the loop. Instead they got hoisted, which is better than
; leaving them in the loop, but increases register pressure pointlessly.
-; RUN: llvm-upgrade < %s | llvm-as | opt -licm | llvm-dis | %prcontext getelementptr 1 | grep Out:
+; RUN: llvm-upgrade < %s | llvm-as | opt -licm | llvm-dis | \
+; RUN: %prcontext getelementptr 1 | grep Out:
%Ty = type { int, int }
%X = external global %Ty
Index: llvm/test/Transforms/LICM/sink_multiple_exits.ll
diff -u llvm/test/Transforms/LICM/sink_multiple_exits.ll:1.4 llvm/test/Transforms/LICM/sink_multiple_exits.ll:1.5
--- llvm/test/Transforms/LICM/sink_multiple_exits.ll:1.4 Fri Dec 1 22:23:09 2006
+++ llvm/test/Transforms/LICM/sink_multiple_exits.ll Sun Apr 15 03:30:32 2007
@@ -1,7 +1,8 @@
; This testcase ensures that we can sink instructions from loops with
; multiple exits.
;
-; RUN: llvm-upgrade < %s | llvm-as | opt -licm | llvm-dis | %prcontext mul 1 | grep 'Out[12]:'
+; RUN: llvm-upgrade < %s | llvm-as | opt -licm | llvm-dis | \
+; RUN: %prcontext mul 1 | grep {Out\[12\]:}
int %test(int %N, bool %C) {
Entry:
Index: llvm/test/Transforms/LICM/sink_only_some_exits.ll
diff -u llvm/test/Transforms/LICM/sink_only_some_exits.ll:1.3 llvm/test/Transforms/LICM/sink_only_some_exits.ll:1.4
--- llvm/test/Transforms/LICM/sink_only_some_exits.ll:1.3 Fri Dec 1 22:23:09 2006
+++ llvm/test/Transforms/LICM/sink_only_some_exits.ll Sun Apr 15 03:30:32 2007
@@ -2,7 +2,8 @@
; some exits out of the loop, and that we can do so without breaking dominator
; info.
;
-; RUN: llvm-upgrade < %s | llvm-as | opt -licm | llvm-dis | %prcontext add 1 | grep exit2:
+; RUN: llvm-upgrade < %s | llvm-as | opt -licm | llvm-dis | \
+; RUN: %prcontext add 1 | grep exit2:
implementation ; Functions:
More information about the llvm-commits
mailing list