Remove explicit control flow through the use of the 'not' script

llvm-svn: 6965
diff --git a/llvm/test/Regression/Transforms/BasicAA/featuretest.ll b/llvm/test/Regression/Transforms/BasicAA/featuretest.ll
index 803dafb..0b798e2 100644
--- a/llvm/test/Regression/Transforms/BasicAA/featuretest.ll
+++ b/llvm/test/Regression/Transforms/BasicAA/featuretest.ll
@@ -1,10 +1,7 @@
 ; This testcase tests for various features the basicaa test should be able to 
 ; determine, as noted in the comments.
 
-; RUN: if as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | dis | grep REMOVE
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | dis | not grep REMOVE
 
 %Global = external global { int }
 
diff --git a/llvm/test/Regression/Transforms/BasicAA/gcsetest.ll b/llvm/test/Regression/Transforms/BasicAA/gcsetest.ll
index 6755663..4287e7d 100644
--- a/llvm/test/Regression/Transforms/BasicAA/gcsetest.ll
+++ b/llvm/test/Regression/Transforms/BasicAA/gcsetest.ll
@@ -2,10 +2,7 @@
 ; disambiguating some obvious cases.  All loads should be removable in 
 ; this testcase.
 
-; RUN: if as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | dis | grep load
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | dis | not grep load
 
 %A = global int 7
 %B = global int 8
diff --git a/llvm/test/Regression/Transforms/BasicAA/licmtest.ll b/llvm/test/Regression/Transforms/BasicAA/licmtest.ll
index 585ac17..414a538 100644
--- a/llvm/test/Regression/Transforms/BasicAA/licmtest.ll
+++ b/llvm/test/Regression/Transforms/BasicAA/licmtest.ll
@@ -3,10 +3,7 @@
 ; two pointers, then the load should be hoisted, and the store sunk.  Thus
 ; the loop becomes empty and can be deleted by ADCE. 
 
-; RUN: if as < %s | opt -basicaa -licm --adce | dis | grep Loop
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -basicaa -licm --adce | dis | not grep Loop
 
 %A = global int 7
 %B = global int 8