[PATCH] D80578: [PGO] Enable memcmp/bcmp size value profiling.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 10:27:43 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG089759b96dfa: [PGO] Enable memcmp/bcmp size value profiling. (authored by yamauchi).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80578/new/

https://reviews.llvm.org/D80578

Files:
  llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp


Index: llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
===================================================================
--- llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
+++ llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
@@ -96,7 +96,7 @@
 extern cl::opt<unsigned> MemOPSizeLarge;
 
 cl::opt<bool>
-    MemOPOptMemcmpBcmp("pgo-memop-optimize-memcmp-bcmp", cl::init(false),
+    MemOPOptMemcmpBcmp("pgo-memop-optimize-memcmp-bcmp", cl::init(true),
                        cl::Hidden,
                        cl::desc("Size-specialize memcmp and bcmp calls"));
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80578.267931.patch
Type: text/x-patch
Size: 591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200602/2d5cddcc/attachment.bin>


More information about the llvm-commits mailing list