Use `grep -F` instead of deprecated fgrep.
authorNico Weber <thakis@chromium.org>
Thu, 12 Mar 2020 12:33:54 +0000 (08:33 -0400)
committerNico Weber <thakis@chromium.org>
Thu, 12 Mar 2020 12:34:38 +0000 (08:34 -0400)
(In addition to the deprecation bit, this is useful on Windows
where people might have grep but not fgrep.)

llvm/test/CodeGen/X86/statepoint-stackmap-size.ll

index d4a8a04..a8757f3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc  -verify-machineinstrs < %s | fgrep -A 10000 .llvm_stackmaps | wc -l | FileCheck %s
+; RUN: llc  -verify-machineinstrs < %s | grep -F -A 10000 .llvm_stackmaps | wc -l | FileCheck %s
 
 ; Without removal of duplicate entries, the size is 62 lines
 ; CHECK: 50