summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SimplifyLibCalls/ExitInMain.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-08-15 13:49:33 +0000
committerDan Gohman <gohman@apple.com>2007-08-15 13:49:33 +0000
commitada7205b764a46cb7e7ec73a74ae0ef591e17f59 (patch)
treea832e6864aceaf864992f8caaf1d5e329a2557a1 /llvm/test/Transforms/SimplifyLibCalls/ExitInMain.ll
parent85c1e51b34527011c23a5c375bb6592665af370a (diff)
downloadbcm5719-llvm-ada7205b764a46cb7e7ec73a74ae0ef591e17f59.tar.gz
bcm5719-llvm-ada7205b764a46cb7e7ec73a74ae0ef591e17f59.zip
Convert tests using "grep -c ... | grep ..." to use the count script.
llvm-svn: 41100
Diffstat (limited to 'llvm/test/Transforms/SimplifyLibCalls/ExitInMain.ll')
-rw-r--r--llvm/test/Transforms/SimplifyLibCalls/ExitInMain.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/SimplifyLibCalls/ExitInMain.ll b/llvm/test/Transforms/SimplifyLibCalls/ExitInMain.ll
index 13f1a1166e6..3fded2cc070 100644
--- a/llvm/test/Transforms/SimplifyLibCalls/ExitInMain.ll
+++ b/llvm/test/Transforms/SimplifyLibCalls/ExitInMain.ll
@@ -1,6 +1,6 @@
; Test that the ExitInMainOptimization pass works correctly
; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \
-; RUN: grep -c {ret i32 3} | grep 1
+; RUN: grep {ret i32 3} | count 1
; END.
declare void %exit(int)
OpenPOWER on IntegriCloud