Convert tests using "| wc -l | grep ..." to use the count script.
[oota-llvm.git] / test / Transforms / LoopStrengthReduce / share_ivs.ll
index 76bfe1d529c923d0bbb0e0d805a62671c2261e1e..edc29b744229c0aee58e2acfadc814aa1d98181b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | grep phi | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | grep phi | count 1
 
 ; This testcase should have ONE stride 18 indvar, the other use should have a
 ; loop invariant value (B) added to it inside of the loop, instead of having