summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SimplifyCFG/switch_switch_fold.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/SimplifyCFG/switch_switch_fold.ll')
-rw-r--r--llvm/test/Transforms/SimplifyCFG/switch_switch_fold.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/SimplifyCFG/switch_switch_fold.ll b/llvm/test/Transforms/SimplifyCFG/switch_switch_fold.ll
index 5403955da47..5cfa4ea182f 100644
--- a/llvm/test/Transforms/SimplifyCFG/switch_switch_fold.ll
+++ b/llvm/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.
OpenPOWER on IntegriCloud