Converted 8x tests of SimplifyCFG to use FileCheck instead of grep.
[oota-llvm.git] / test / Transforms / SimplifyCFG / 2003-08-17-BranchFold.ll
index fc89b165f85b12fd51a105d04cd40f46c36a4226..f6b068fd79c3757e563fbb2ac663f5cc3a39c58f 100644 (file)
@@ -1,11 +1,11 @@
 ; This test checks to make sure that 'br X, Dest, Dest' is folded into 
 ; 'br Dest'
 
-; RUN: opt < %s -simplifycfg -S | \
-; RUN:   not grep "br i1 %c2"
+; RUN: opt < %s -simplifycfg -S | FileCheck %s
 
 declare void @noop()
 
+; CHECK-NOT: br i1 %c2
 define i32 @test(i1 %c1, i1 %c2) {
        call void @noop( )
        br i1 %c1, label %A, label %Y