[llvm-commits] CVS: llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll 2002-08-19-ResolveGlobalVarsEasier.ll 2002-11-07-RetMismatch.ll 2002-11-09-ExternFn.ll 2003-04-18-ForwardDeclGlobal.ll 2003-05-31-AllInternalDecls.ll 2003-05-31-FuncPointerResolve.ll 2003-05-31-InternalDecl.ll basictest.ll retmismatch1.ll retmismatch2.ll
Chris Lattner
lattner at cs.uiuc.edu
Sat Jun 28 18:27:01 PDT 2003
Changes in directory llvm/test/Regression/Transforms/FunctionResolve:
2002-08-19-ResolveGlobalVars.ll updated: 1.4 -> 1.5
2002-08-19-ResolveGlobalVarsEasier.ll updated: 1.2 -> 1.3
2002-11-07-RetMismatch.ll updated: 1.2 -> 1.3
2002-11-09-ExternFn.ll updated: 1.2 -> 1.3
2003-04-18-ForwardDeclGlobal.ll updated: 1.2 -> 1.3
2003-05-31-AllInternalDecls.ll updated: 1.1 -> 1.2
2003-05-31-FuncPointerResolve.ll updated: 1.2 -> 1.3
2003-05-31-InternalDecl.ll updated: 1.1 -> 1.2
basictest.ll updated: 1.2 -> 1.3
retmismatch1.ll updated: 1.3 -> 1.4
retmismatch2.ll updated: 1.3 -> 1.4
---
Log message:
Remove explicit control flow through the use of the 'not' script
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll
diff -u llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll:1.4 llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll:1.5
--- llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll:1.4 Fri Apr 18 19:17:11 2003
+++ llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll Sat Jun 28 18:23:21 2003
@@ -1,16 +1,7 @@
; Test that: extern int X[] and int X[] = { 1, 2, 3, 4 } are resolved
; correctly.
;
-; RUN: if as < %s | opt -funcresolve > /dev/null
-; RUN: then echo "opt ok"
-; RUN: else exit 1 # Make sure opt doesn't abort!
-; RUN: fi
-;
-; RUN: if as < %s | opt -funcresolve | dis | grep external
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
-;
+; RUN: as < %s | opt -funcresolve | dis | not grep external
%X = external global [0 x int]
%X = global [4 x int] [ int 1, int 2, int 3, int 4 ]
Index: llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVarsEasier.ll
diff -u llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVarsEasier.ll:1.2 llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVarsEasier.ll:1.3
--- llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVarsEasier.ll:1.2 Fri Apr 18 19:17:11 2003
+++ llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVarsEasier.ll Sat Jun 28 18:23:21 2003
@@ -1,10 +1,7 @@
; Test that: extern int X[] and int X[] = { 1, 2, 3, 4 } are resolved
; correctly. This doesn't have constantexprs
;
-; RUN: if as < %s | opt -funcresolve | dis | grep external
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -funcresolve | dis | not grep external
;
%X = external global [0 x int]
Index: llvm/test/Regression/Transforms/FunctionResolve/2002-11-07-RetMismatch.ll
diff -u llvm/test/Regression/Transforms/FunctionResolve/2002-11-07-RetMismatch.ll:1.2 llvm/test/Regression/Transforms/FunctionResolve/2002-11-07-RetMismatch.ll:1.3
--- llvm/test/Regression/Transforms/FunctionResolve/2002-11-07-RetMismatch.ll:1.2 Thu Nov 7 18:31:27 2002
+++ llvm/test/Regression/Transforms/FunctionResolve/2002-11-07-RetMismatch.ll Sat Jun 28 18:23:21 2003
@@ -1,7 +1,4 @@
-; RUN: if as < %s | opt -funcresolve -funcresolve | dis | grep declare
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -funcresolve -funcresolve | dis | not grep declare
declare void %qsortg(sbyte*, int, int)
Index: llvm/test/Regression/Transforms/FunctionResolve/2002-11-09-ExternFn.ll
diff -u llvm/test/Regression/Transforms/FunctionResolve/2002-11-09-ExternFn.ll:1.2 llvm/test/Regression/Transforms/FunctionResolve/2002-11-09-ExternFn.ll:1.3
--- llvm/test/Regression/Transforms/FunctionResolve/2002-11-09-ExternFn.ll:1.2 Thu Jun 19 12:02:06 2003
+++ llvm/test/Regression/Transforms/FunctionResolve/2002-11-09-ExternFn.ll Sat Jun 28 18:23:21 2003
@@ -1,12 +1,5 @@
-; RUN: if as < %s | opt -funcresolve > /dev/null
-; RUN: then echo "opt ok"
-; RUN: else exit 1 # Make sure opt doesn't abort!
-; RUN: fi
;
-; RUN: if as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.'
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -funcresolve -instcombine | dis | not grep '\.\.\.'
declare int %foo(...)
declare int %foo(int)
Index: llvm/test/Regression/Transforms/FunctionResolve/2003-04-18-ForwardDeclGlobal.ll
diff -u llvm/test/Regression/Transforms/FunctionResolve/2003-04-18-ForwardDeclGlobal.ll:1.2 llvm/test/Regression/Transforms/FunctionResolve/2003-04-18-ForwardDeclGlobal.ll:1.3
--- llvm/test/Regression/Transforms/FunctionResolve/2003-04-18-ForwardDeclGlobal.ll:1.2 Fri Apr 18 19:15:00 2003
+++ llvm/test/Regression/Transforms/FunctionResolve/2003-04-18-ForwardDeclGlobal.ll Sat Jun 28 18:23:21 2003
@@ -1,7 +1,5 @@
-; RUN: if as < %s | opt -funcresolve -disable-output 2>&1 | grep WARNING
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING
+
%__popcount_tab = external constant [0 x ubyte]
%__popcount_tab = constant [4 x ubyte] c"\00\01\01\02"
Index: llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-AllInternalDecls.ll
diff -u llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-AllInternalDecls.ll:1.1 llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-AllInternalDecls.ll:1.2
--- llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-AllInternalDecls.ll:1.1 Sat May 31 16:33:08 2003
+++ llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-AllInternalDecls.ll Sat Jun 28 18:23:21 2003
@@ -1,9 +1,6 @@
; This testcase should not cause a warning!
-; RUN: if (as < %s | opt -funcresolve -disable-output) 2>&1 | grep 'WARNING'
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: (as < %s | opt -funcresolve -disable-output) 2>&1 | not grep 'WARNING'
%X = internal global float 1.0
%X = internal global int 1
Index: llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-FuncPointerResolve.ll
diff -u llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-FuncPointerResolve.ll:1.2 llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-FuncPointerResolve.ll:1.3
--- llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-FuncPointerResolve.ll:1.2 Sat May 31 15:33:09 2003
+++ llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-FuncPointerResolve.ll Sat Jun 28 18:23:21 2003
@@ -1,7 +1,5 @@
-; RUN: if as < %s | opt -funcresolve | dis | grep declare
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -funcresolve | dis | not grep declare
+
%Table = constant int(...)* %foo
%Table2 = constant [1 x int(...)* ] [ int(...)* %foo ]
Index: llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll
diff -u llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll:1.1 llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll:1.2
--- llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll:1.1 Sat May 31 16:04:39 2003
+++ llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll Sat Jun 28 18:23:21 2003
@@ -1,7 +1,4 @@
-; RUN: if as < %s | opt -funcresolve | dis | grep declare
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -funcresolve | dis | not grep declare
declare void %test(...)
Index: llvm/test/Regression/Transforms/FunctionResolve/basictest.ll
diff -u llvm/test/Regression/Transforms/FunctionResolve/basictest.ll:1.2 llvm/test/Regression/Transforms/FunctionResolve/basictest.ll:1.3
--- llvm/test/Regression/Transforms/FunctionResolve/basictest.ll:1.2 Thu Jun 19 12:02:06 2003
+++ llvm/test/Regression/Transforms/FunctionResolve/basictest.ll Sat Jun 28 18:23:21 2003
@@ -1,7 +1,4 @@
-; RUN: if as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.' | grep call
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.' | not grep call
declare int %foo(...)
Index: llvm/test/Regression/Transforms/FunctionResolve/retmismatch1.ll
diff -u llvm/test/Regression/Transforms/FunctionResolve/retmismatch1.ll:1.3 llvm/test/Regression/Transforms/FunctionResolve/retmismatch1.ll:1.4
--- llvm/test/Regression/Transforms/FunctionResolve/retmismatch1.ll:1.3 Thu Jun 19 12:02:06 2003
+++ llvm/test/Regression/Transforms/FunctionResolve/retmismatch1.ll Sat Jun 28 18:23:21 2003
@@ -1,14 +1,6 @@
; This shows where the function is called with the prototype indicating a
; return type exists, but it really doesn't.
-; RUN: if as < %s | opt -funcresolve > /dev/null
-; RUN: then echo "opt ok"
-; RUN: else exit 1 # Make sure opt doesn't abort!
-; RUN: fi
-;
-; RUN: if as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.' | grep call
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.' | not grep call
declare int %foo(...)
Index: llvm/test/Regression/Transforms/FunctionResolve/retmismatch2.ll
diff -u llvm/test/Regression/Transforms/FunctionResolve/retmismatch2.ll:1.3 llvm/test/Regression/Transforms/FunctionResolve/retmismatch2.ll:1.4
--- llvm/test/Regression/Transforms/FunctionResolve/retmismatch2.ll:1.3 Thu Jun 19 12:02:06 2003
+++ llvm/test/Regression/Transforms/FunctionResolve/retmismatch2.ll Sat Jun 28 18:23:21 2003
@@ -1,15 +1,7 @@
; This shows where the function is called with the prototype indicating a
; return type doesn't exists, but it really does.
;
-; RUN: if as < %s | opt -funcresolve > /dev/null
-; RUN: then echo "opt ok"
-; RUN: else exit 1 # Make sure opt doesn't abort!
-; RUN: fi
-;
-; RUN: if as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.' | grep call
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.' | not grep call
declare void %foo(...)
More information about the llvm-commits
mailing list