Fix this test on Solaris.
authorJohn Criswell <criswell@uiuc.edu>
Thu, 12 May 2005 21:06:05 +0000 (21:06 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Thu, 12 May 2005 21:06:05 +0000 (21:06 +0000)
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

test/CodeGen/PowerPC/fma.ll

index ed93633f7f61723f94a39a391b0e7eeb7f255f1b..794fa087428b7334c7b7ce6e41113f2bc4adaf5e 100644 (file)
@@ -1,4 +1,4 @@
-; 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