Remove explicit control flow through the use of the 'not' script
[oota-llvm.git] / test / Transforms / Reassociate / otherops.ll
index 7182e1f72acea65299ff3724378c35c05ae7b565..6960b1df99136030c499d7d3305dc179ea3a4fe2 100644 (file)
@@ -1,9 +1,6 @@
 ; Reassociation should apply to Add, Mul, And, Or, & Xor
 ;
-; RUN: if as < %s | opt -reassociate -constprop -instcombine -die | dis | grep 12
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -reassociate -constprop -instcombine -die | dis | not grep 12
 
 int "test_mul"(int %arg) {
         %tmp1 = mul int 12, %arg