Convert tests using "| wc -l | grep ..." to use the count script.
[oota-llvm.git] / test / CodeGen / X86 / shift-folding.ll
index 671476a2087493f60d6c85217f23f8c724adcefa..19bf4ee6480c80f1d133d0d53da3d2382dabfff1 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | \
-; RUN:   grep {s\[ah\]\[rl\]l} | wc -l | grep 1
+; RUN:   grep {s\[ah\]\[rl\]l} | count 1
 
 int* %test1(int *%P, uint %X) {
        %Y = shr uint %X, ubyte 2