summaryrefslogtreecommitdiff
path: root/test/Transforms/SimplifyCFG/switch_switch_fold.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/SimplifyCFG/switch_switch_fold.ll')
-rw-r--r--test/Transforms/SimplifyCFG/switch_switch_fold.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/SimplifyCFG/switch_switch_fold.ll b/test/Transforms/SimplifyCFG/switch_switch_fold.ll
index 5403955da4..5cfa4ea182 100644
--- a/test/Transforms/SimplifyCFG/switch_switch_fold.ll
+++ b/test/Transforms/SimplifyCFG/switch_switch_fold.ll
@@ -1,5 +1,5 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | \
-; RUN: grep switch | wc -l | grep 1
+; RUN: grep switch | count 1
; Test that a switch going to a switch on the same value can be merged. All
; three switches in this example can be merged into one big one.