Convert tests using "| wc -l | grep ..." to use the count script.
[oota-llvm.git] / test / CodeGen / Generic / phi-immediate-factoring.ll
index 70fa9e76243404a05274886988ffef1ccfeb72be..e0f675976d9139ab3680f19b7e00886f229f7491 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1296
-; RUN: llvm-as < %s | llc -march=x86 | grep {movl      \$1} | wc -l | grep 1
+; RUN: llvm-as < %s | llc -march=x86 | grep {movl      \$1} | count 1
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
 target triple = "i686-apple-darwin8"