A new testcase for an instcombine miscompilation!
[oota-llvm.git] / test / Transforms / SimplifyCFG / PhiBlockMerge2.ll
index aecb6b9244fa926d4103f9fa8863a158c41aee2b..083e45e016c49b4377359ca5806368e43b1b3a0b 100644 (file)
@@ -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: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'N:'
 ;
 
 int %test(bool %a, bool %b) {