summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/2007-05-22-tailmerge-3.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/2007-05-22-tailmerge-3.ll')
-rw-r--r--test/CodeGen/ARM/2007-05-22-tailmerge-3.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/ARM/2007-05-22-tailmerge-3.ll b/test/CodeGen/ARM/2007-05-22-tailmerge-3.ll
index 94c116da59..3857d7d3e1 100644
--- a/test/CodeGen/ARM/2007-05-22-tailmerge-3.ll
+++ b/test/CodeGen/ARM/2007-05-22-tailmerge-3.ll
@@ -1,7 +1,7 @@
-; RUN: llvm-as < %s | llc -march=arm | grep bl.*baz | wc -l | grep 1
-; RUN: llvm-as < %s | llc -march=arm | grep bl.*quux | wc -l | grep 1
-; RUN: llvm-as < %s | llc -march=arm -enable-tail-merge=0 | grep bl.*baz | wc -l | grep 2
-; RUN: llvm-as < %s | llc -march=arm -enable-tail-merge=0 | grep bl.*quux | wc -l | grep 2
+; RUN: llvm-as < %s | llc -march=arm | grep bl.*baz | count 1
+; RUN: llvm-as < %s | llc -march=arm | grep bl.*quux | count 1
+; RUN: llvm-as < %s | llc -march=arm -enable-tail-merge=0 | grep bl.*baz | count 2
+; RUN: llvm-as < %s | llc -march=arm -enable-tail-merge=0 | grep bl.*quux | count 2
; Check that tail merging is the default on ARM, and that -enable-tail-merge=0 works.
; ModuleID = 'tail.c'