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

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 26 11:26:09 PDT 2020


yamauchi created this revision.
yamauchi added a reviewer: davidxl.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

Following up D79751 <https://reviews.llvm.org/D79751>.


Repository:
  rG LLVM Github Monorepo

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;
 
 static 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.266279.patch
Type: text/x-patch
Size: 598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200526/2e81856d/attachment-0001.bin>


More information about the llvm-commits mailing list