Remove explicit control flow through the use of the 'not' script
[oota-llvm.git] / test / Transforms / ADCE / adcetest.ll
index 386d71c70d895e8a23dbc3574c564a7645deb2c1..2e9cd6c6c380f3edc59be02b82698df41116ee20 100644 (file)
@@ -1,10 +1,7 @@
 ; This is the test case taken from Appel's book that illustrates a hard case
 ; that SCCP gets right, and when followed by ADCE, is completely eliminated
 ;
-; RUN: if as < %s | opt -sccp -adce | dis | grep br
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -sccp -adce -simplifycfg | dis | not grep br
 
 int "test function"(int %i0, int %j0) {
 BB1: