From f9dd170e36e465bc8a16d31daae4ee775504fc47 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 15 Aug 2007 13:36:28 +0000 Subject: Convert tests using "| wc -l | grep ..." to use the count script. llvm-svn: 41097 --- llvm/test/CodeGen/X86/shift-codegen.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/CodeGen/X86/shift-codegen.ll') diff --git a/llvm/test/CodeGen/X86/shift-codegen.ll b/llvm/test/CodeGen/X86/shift-codegen.ll index 0b40d942d0f..deb4ed1f309 100644 --- a/llvm/test/CodeGen/X86/shift-codegen.ll +++ b/llvm/test/CodeGen/X86/shift-codegen.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llc -relocation-model=static -march=x86 | \ -; RUN: grep {shll \$3} | wc -l | grep 2 +; RUN: grep {shll \$3} | count 2 ; This should produce two shll instructions, not any lea's. -- cgit v1.2.3