[PATCH] D35969: Increase the ImportHotMultiplier to 10.0
Dehao Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 27 17:18:37 PDT 2017
danielcdh created this revision.
Herald added a subscriber: sanjoy.
The original 3.0 hot mupltiplier is too small, and would prevent hot callsites from being inline. This patch increases the hot multilier to 10.0
https://reviews.llvm.org/D35969
Files:
lib/Transforms/IPO/FunctionImport.cpp
Index: lib/Transforms/IPO/FunctionImport.cpp
===================================================================
--- lib/Transforms/IPO/FunctionImport.cpp
+++ lib/Transforms/IPO/FunctionImport.cpp
@@ -61,7 +61,7 @@
"before processing newly imported functions"));
static cl::opt<float> ImportHotMultiplier(
- "import-hot-multiplier", cl::init(3.0), cl::Hidden, cl::value_desc("x"),
+ "import-hot-multiplier", cl::init(10.0), cl::Hidden, cl::value_desc("x"),
cl::desc("Multiply the `import-instr-limit` threshold for hot callsites"));
static cl::opt<float> ImportCriticalMultiplier(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35969.108557.patch
Type: text/x-patch
Size: 612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170728/0602ba37/attachment.bin>
More information about the llvm-commits
mailing list