[llvm-commits] CVS: llvm/test/Regression/Transforms/CFGSimplify/EqualPHIEdgeBlockMerge.ll PhiBlockMerge.ll PhiBlockMerge2.ll basictest.ll

Chris Lattner lattner at cs.uiuc.edu
Sat Jun 28 18:14:01 PDT 2003


Changes in directory llvm/test/Regression/Transforms/CFGSimplify:

EqualPHIEdgeBlockMerge.ll updated: 1.1 -> 1.2
PhiBlockMerge.ll updated: 1.1 -> 1.2
PhiBlockMerge2.ll updated: 1.1 -> 1.2
basictest.ll updated: 1.2 -> 1.3

---
Log message:

Eliminate explicit control flow in tests


---
Diffs of the changes:

Index: llvm/test/Regression/Transforms/CFGSimplify/EqualPHIEdgeBlockMerge.ll
diff -u llvm/test/Regression/Transforms/CFGSimplify/EqualPHIEdgeBlockMerge.ll:1.1 llvm/test/Regression/Transforms/CFGSimplify/EqualPHIEdgeBlockMerge.ll:1.2
--- llvm/test/Regression/Transforms/CFGSimplify/EqualPHIEdgeBlockMerge.ll:1.1	Wed Mar  5 14:35:24 2003
+++ llvm/test/Regression/Transforms/CFGSimplify/EqualPHIEdgeBlockMerge.ll	Sat Jun 28 18:13:12 2003
@@ -1,9 +1,6 @@
 ; Test merging of blocks with phi nodes.
 ;
-; RUN: if as < %s | opt -simplifycfg | dis | grep 'N:'
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -simplifycfg | dis | not grep 'N:'
 ;
 
 int %test(bool %a) {


Index: llvm/test/Regression/Transforms/CFGSimplify/PhiBlockMerge.ll
diff -u llvm/test/Regression/Transforms/CFGSimplify/PhiBlockMerge.ll:1.1 llvm/test/Regression/Transforms/CFGSimplify/PhiBlockMerge.ll:1.2
--- llvm/test/Regression/Transforms/CFGSimplify/PhiBlockMerge.ll:1.1	Wed Mar  5 14:22:50 2003
+++ llvm/test/Regression/Transforms/CFGSimplify/PhiBlockMerge.ll	Sat Jun 28 18:13:12 2003
@@ -1,9 +1,6 @@
 ; Test merging of blocks that only have PHI nodes in them
 ;
-; RUN: if as < %s | opt -simplifycfg | dis | grep 'N:'
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -simplifycfg | dis | not grep 'N:'
 ;
 
 int %test(bool %a, bool %b) {


Index: llvm/test/Regression/Transforms/CFGSimplify/PhiBlockMerge2.ll
diff -u llvm/test/Regression/Transforms/CFGSimplify/PhiBlockMerge2.ll:1.1 llvm/test/Regression/Transforms/CFGSimplify/PhiBlockMerge2.ll:1.2
--- llvm/test/Regression/Transforms/CFGSimplify/PhiBlockMerge2.ll:1.1	Wed Mar  5 15:34:35 2003
+++ llvm/test/Regression/Transforms/CFGSimplify/PhiBlockMerge2.ll	Sat Jun 28 18:13:12 2003
@@ -2,10 +2,7 @@
 ; where the mergedinto block doesn't have any PHI nodes, and is in fact 
 ; dominated by the block-to-be-eliminated
 ;
-; RUN: if as < %s | opt -simplifycfg | dis | grep 'N:'
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -simplifycfg | dis | not grep 'N:'
 ;
 
 int %test(bool %a, bool %b) {


Index: llvm/test/Regression/Transforms/CFGSimplify/basictest.ll
diff -u llvm/test/Regression/Transforms/CFGSimplify/basictest.ll:1.2 llvm/test/Regression/Transforms/CFGSimplify/basictest.ll:1.3
--- llvm/test/Regression/Transforms/CFGSimplify/basictest.ll:1.2	Tue May 21 14:33:17 2002
+++ llvm/test/Regression/Transforms/CFGSimplify/basictest.ll	Sat Jun 28 18:13:12 2003
@@ -1,9 +1,6 @@
 ; Test CFG simplify removal of branch instructions...
 ;
-; RUN: if as < %s | opt -simplifycfg | dis | grep br
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -simplifycfg | dis | not grep br
 
 
 void "test1"() {





More information about the llvm-commits mailing list