[llvm-commits] CVS: llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll 2002-08-17-WorkListTest.ll basicvariabletest.ll
Chris Lattner
lattner at cs.uiuc.edu
Sat Jun 28 18:27:27 PDT 2003
Changes in directory llvm/test/Regression/Transforms/GlobalDCE:
2002-08-17-FunctionDGE.ll updated: 1.1 -> 1.2
2002-08-17-WorkListTest.ll updated: 1.2 -> 1.3
basicvariabletest.ll updated: 1.1 -> 1.2
---
Log message:
Remove explicit control flow through the use of the 'not' script
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll
diff -u llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll:1.1 llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll:1.2
--- llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll:1.1 Sat Aug 17 20:27:10 2002
+++ llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll Sat Jun 28 18:23:24 2003
@@ -1,10 +1,7 @@
; Make sure that functions are removed successfully if they are referred to by
; a global that is dead. Make sure any globals they refer to die as well.
-; RUN: if as < %s | opt -globaldce | dis | grep foo
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -globaldce | dis | not grep foo
%b = internal global int ()* %foo ;; Unused, kills %foo
Index: llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll
diff -u llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll:1.2 llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll:1.3
--- llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll:1.2 Sat Aug 17 18:20:37 2002
+++ llvm/test/Regression/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll Sat Jun 28 18:23:24 2003
@@ -1,10 +1,7 @@
; This testcase tests that a worklist is being used, and that globals can be
; removed if they are the subject of a constexpr and ConstantPointerRef
-; RUN: if as < %s | opt -globaldce | dis | grep global
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -globaldce | dis | not grep global
%t0 = internal global [4 x sbyte] c"foo\00"
%t1 = internal global [4 x sbyte] c"bar\00"
Index: llvm/test/Regression/Transforms/GlobalDCE/basicvariabletest.ll
diff -u llvm/test/Regression/Transforms/GlobalDCE/basicvariabletest.ll:1.1 llvm/test/Regression/Transforms/GlobalDCE/basicvariabletest.ll:1.2
--- llvm/test/Regression/Transforms/GlobalDCE/basicvariabletest.ll:1.1 Sat Aug 17 17:36:45 2002
+++ llvm/test/Regression/Transforms/GlobalDCE/basicvariabletest.ll Sat Jun 28 18:23:24 2003
@@ -1,8 +1,4 @@
-; RUN: if as < %s | opt -globaldce | dis | grep global
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
-
+; RUN: as < %s | opt -globaldce | dis | not grep global
%X = uninitialized global int
%Y = internal global int 7
More information about the llvm-commits
mailing list