Fix a latent bug exposed by my truncstore patch. We compiled stfiwx-2.ll to:
[oota-llvm.git] / test / CodeGen / PowerPC / buildvec_canonicalize.ll
index 54cbdae914887db39e8cc276a841c483edeb0322..e06090c192545be7127e47581ca5fa69760ede5f 100644 (file)
@@ -1,12 +1,12 @@
 ; There should be exactly one vxor here.
 ; RUN: llvm-upgrade < %s | llvm-as | \
 ; RUN:   llc -march=ppc32 -mcpu=g5 --enable-unsafe-fp-math | \
-; RUN:   grep vxor | wc -l | grep 1
+; RUN:   grep vxor | count 1
 
 ; There should be exactly one vsplti here.
 ; RUN: llvm-upgrade < %s | llvm-as | \
 ; RUN:   llc -march=ppc32 -mcpu=g5 --enable-unsafe-fp-math | \
-; RUN:   grep vsplti | wc -l | grep 1
+; RUN:   grep vsplti | count 1
 
 
 void %VXOR(<4 x float>* %P1, <4 x int>* %P2, <4 x float>* %P3) {