diff options
| author | Dan Gohman <gohman@apple.com> | 2007-08-15 13:36:28 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2007-08-15 13:36:28 +0000 |
| commit | 28beeeac4db2d582d4947db96d62e423e4b68d88 (patch) | |
| tree | 3a500b846e77d285021ec12e3ef0bbe69c498b82 /test/Transforms/SimplifyCFG | |
| parent | 7375bb9c8c82115dd401d67f0baaf30d6c481bd0 (diff) | |
Convert tests using "| wc -l | grep ..." to use the count script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SimplifyCFG')
| -rw-r--r-- | test/Transforms/SimplifyCFG/branch-fold.ll | 2 | ||||
| -rw-r--r-- | test/Transforms/SimplifyCFG/switch_switch_fold.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/SimplifyCFG/branch-fold.ll b/test/Transforms/SimplifyCFG/branch-fold.ll index f13f82676b..aeea929903 100644 --- a/test/Transforms/SimplifyCFG/branch-fold.ll +++ b/test/Transforms/SimplifyCFG/branch-fold.ll @@ -1,4 +1,4 @@ -; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | grep {br i1} | wc -l | grep 1 +; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | grep {br i1} | count 1 void %test(int* %P, int* %Q, bool %A, bool %B) { br bool %A, label %a, label %b ;; fold the two branches into one 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. |
