From 32b30a3c239e682b7fae39ebd9c4b121f5865810 Mon Sep 17 00:00:00 2001 From: John Criswell Date: Thu, 12 May 2005 21:06:05 +0000 Subject: [PATCH] Fix this test on Solaris. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CodeGen/PowerPC/fma.ll b/test/CodeGen/PowerPC/fma.ll index ed93633f7f6..794fa087428 100644 --- a/test/CodeGen/PowerPC/fma.ll +++ b/test/CodeGen/PowerPC/fma.ll @@ -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