[llvm-commits] CVS: llvm/test/Regression/Assembler/2002-04-29-NameBinding.llx ConstantExprFoldCast.llx

Chris Lattner lattner at cs.uiuc.edu
Sat Jun 28 18:25:15 PDT 2003


Changes in directory llvm/test/Regression/Assembler:

2002-04-29-NameBinding.llx updated: 1.1 -> 1.2
ConstantExprFoldCast.llx 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/Assembler/2002-04-29-NameBinding.llx
diff -u llvm/test/Regression/Assembler/2002-04-29-NameBinding.llx:1.1 llvm/test/Regression/Assembler/2002-04-29-NameBinding.llx:1.2
--- llvm/test/Regression/Assembler/2002-04-29-NameBinding.llx:1.1	Mon Apr 29 13:12:28 2002
+++ llvm/test/Regression/Assembler/2002-04-29-NameBinding.llx	Sat Jun 28 18:23:13 2003
@@ -4,10 +4,7 @@
 ; Check by running globaldce, which will remove the constant if there are
 ; no references to it!
 ; 
-; RUN: if as < %s | opt -globaldce | dis | grep constant
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -globaldce | dis | grep-not constant
 ;
 	
 %v1 = internal constant int 5
@@ -15,7 +12,6 @@
 implementation
 
 int "createtask"()
-begin
 	%v1 = alloca int           ;; Alloca should have one use!
 	%reg112 = load int* %v1    ;; This load should not use the global!
 	ret int %reg112


Index: llvm/test/Regression/Assembler/ConstantExprFoldCast.llx
diff -u llvm/test/Regression/Assembler/ConstantExprFoldCast.llx:1.1 llvm/test/Regression/Assembler/ConstantExprFoldCast.llx:1.2
--- llvm/test/Regression/Assembler/ConstantExprFoldCast.llx:1.1	Thu Apr 17 14:21:22 2003
+++ llvm/test/Regression/Assembler/ConstantExprFoldCast.llx	Sat Jun 28 18:23:13 2003
@@ -1,9 +1,6 @@
 ; This test checks to make sure that constant exprs fold in some simple situations
 
-; RUN: if as < %s | dis | grep cast
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | dis | grep-not cast
 
 %A = global int* cast (sbyte* null to int*)  ; Cast null -> fold
 %B = global int** cast (int** %A to int**)   ; Cast to same type -> fold





More information about the llvm-commits mailing list