Fix a latent bug exposed by my truncstore patch. We compiled stfiwx-2.ll to:
[oota-llvm.git] / test / CodeGen / PowerPC / vcmp-fold.ll
index 6ae41a980c9fdc68634b9a674e8b1435a59396b6..efb727c21c8a6beca63e56f5b21e2bc8e93140f0 100644 (file)
@@ -1,6 +1,6 @@
 ; This should fold the "vcmpbfp." and "vcmpbfp" instructions into a single 
 ; "vcmpbfp.".
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vcmpbfp | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vcmpbfp | count 1
 
 void %test(<4 x float>* %x, <4 x float>* %y, int* %P) {
 entry: