Fully escape the grep string for this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68580 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/X86/dyn-stackalloc.ll b/test/CodeGen/X86/dyn-stackalloc.ll
index d6ca702..049a32c 100644
--- a/test/CodeGen/X86/dyn-stackalloc.ll
+++ b/test/CodeGen/X86/dyn-stackalloc.ll
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=x86 | not egrep {\$4294967289|-7\\(}
-; RUN: llvm-as < %s | llc -march=x86 | egrep {\$4294967280|-16\\(}
+; RUN: llvm-as < %s | llc -march=x86 | not egrep {\\\$4294967289|-7\\(}
+; RUN: llvm-as < %s | llc -march=x86 | egrep {\\\$4294967280|-16\\(}
; RUN: llvm-as < %s | llc -march=x86-64 | grep {\\-16}
define void @t() {