[llvm] 089759b - [PGO] Enable memcmp/bcmp size value profiling.
Hiroshi Yamauchi via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 2 10:27:23 PDT 2020
Author: Hiroshi Yamauchi
Date: 2020-06-02T10:27:11-07:00
New Revision: 089759b96dfac7ae7304a2b24ffdf1a60aaa60e2
URL: https://github.com/llvm/llvm-project/commit/089759b96dfac7ae7304a2b24ffdf1a60aaa60e2
DIFF: https://github.com/llvm/llvm-project/commit/089759b96dfac7ae7304a2b24ffdf1a60aaa60e2.diff
LOG: [PGO] Enable memcmp/bcmp size value profiling.
Summary: Following up D79751.
Reviewers: davidxl
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80578
Added:
Modified:
llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp b/llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
index 604a20f3951a..2b7b859891dc 100644
--- a/llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
+++ b/llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
@@ -96,7 +96,7 @@ extern cl::opt<std::string> MemOPSizeRange;
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"));
More information about the llvm-commits
mailing list