[llvm] e51d4df - Use `grep -F` instead of deprecated fgrep.

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 12 05:34:47 PDT 2020


Author: Nico Weber
Date: 2020-03-12T08:34:38-04:00
New Revision: e51d4df4b287b3c56d471cbc5a956dacf2eb0dc3

URL: https://github.com/llvm/llvm-project/commit/e51d4df4b287b3c56d471cbc5a956dacf2eb0dc3
DIFF: https://github.com/llvm/llvm-project/commit/e51d4df4b287b3c56d471cbc5a956dacf2eb0dc3.diff

LOG: Use `grep -F` instead of deprecated fgrep.

(In addition to the deprecation bit, this is useful on Windows
where people might have grep but not fgrep.)

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/statepoint-stackmap-size.ll b/llvm/test/CodeGen/X86/statepoint-stackmap-size.ll
index d4a8a04c644e..a8757f3f5ad6 100644
--- a/llvm/test/CodeGen/X86/statepoint-stackmap-size.ll
+++ b/llvm/test/CodeGen/X86/statepoint-stackmap-size.ll
@@ -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


        


More information about the llvm-commits mailing list