Make test platform agnostic.
[oota-llvm.git] / test / CodeGen / X86 / fp-stack-ret.ll
index 69c5fc58e8cfea0d1c83016b5f4f9c6032b18369..3e6ad54e73b3d187924424af08c682ee78ff4cb3 100644 (file)
@@ -1,8 +1,8 @@
 ; RUN: llvm-as < %s | \
 ; RUN:   llc -mtriple=i686-apple-darwin8 -mcpu=yonah -march=x86 > %t
-; RUN: grep fldl %t | wc -l | grep 1
+; RUN: grep fldl %t | count 1
 ; RUN: not grep xmm %t
-; RUN: grep {sub.*esp} %t | wc -l | grep 1
+; RUN: grep {sub.*esp} %t | count 1
 
 ; These testcases shouldn't require loading into an XMM register then storing 
 ; to memory, then reloading into an FPStack reg.