Solaris grep is more traditional and (AFAIK) does not support regexs.
Also, single quotes should disable all shell interpretation, so no
backslashes should be needed (and, in fact, keep Solaris from working).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21902
91177308-0d34-0410-b5e6-
96231b3b80d8
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'fn\?madd\|fn\?msub' | wc -l | grep 7
+; RUN: llvm-as < %s | llc -march=ppc32 | egrep 'fn?madd|fn?msub' | wc -l | grep 7
double %test_FMADD1(double %A, double %B, double %C) {
%D = mul double %A, %B