summaryrefslogtreecommitdiff
path: root/test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll')
-rw-r--r--test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll b/test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll
index fc89b165f8..f6b068fd79 100644
--- a/test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll
+++ b/test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll
@@ -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