aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/ifcvt7.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-08-15 13:36:28 +0000
committerDan Gohman <gohman@apple.com>2007-08-15 13:36:28 +0000
commit28beeeac4db2d582d4947db96d62e423e4b68d88 (patch)
tree3a500b846e77d285021ec12e3ef0bbe69c498b82 /test/CodeGen/ARM/ifcvt7.ll
parent7375bb9c8c82115dd401d67f0baaf30d6c481bd0 (diff)
downloadexternal_llvm-28beeeac4db2d582d4947db96d62e423e4b68d88.zip
external_llvm-28beeeac4db2d582d4947db96d62e423e4b68d88.tar.gz
external_llvm-28beeeac4db2d582d4947db96d62e423e4b68d88.tar.bz2
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/CodeGen/ARM/ifcvt7.ll')
-rw-r--r--test/CodeGen/ARM/ifcvt7.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/ARM/ifcvt7.ll b/test/CodeGen/ARM/ifcvt7.ll
index 4816cea..f0b6e47 100644
--- a/test/CodeGen/ARM/ifcvt7.ll
+++ b/test/CodeGen/ARM/ifcvt7.ll
@@ -2,13 +2,13 @@
; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion
; RUN: llvm-as < %s | \
; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion | \
-; RUN: grep cmpeq | wc -l | grep 1
+; RUN: grep cmpeq | count 1
; RUN: llvm-as < %s | \
; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion | \
-; RUN: grep moveq | wc -l | grep 1
+; RUN: grep moveq | count 1
; RUN: llvm-as < %s | \
; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion | \
-; RUN: grep ldmeq | wc -l | grep 1
+; RUN: grep ldmeq | count 1
; FIXME: Need post-ifcvt branch folding to get rid of the extra br at end of BB1.
%struct.quad_struct = type { i32, i32, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct* }