[llvm] r309344 - Increase the ImportHotMultiplier to 10.0
Dehao Chen via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 27 18:02:34 PDT 2017
Author: dehao
Date: Thu Jul 27 18:02:34 2017
New Revision: 309344
URL: http://llvm.org/viewvc/llvm-project?rev=309344&view=rev
Log:
Increase the ImportHotMultiplier to 10.0
Summary: 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
Reviewers: davidxl, tejohnson
Reviewed By: tejohnson
Subscribers: llvm-commits, sanjoy
Differential Revision: https://reviews.llvm.org/D35969
Modified:
llvm/trunk/lib/Transforms/IPO/FunctionImport.cpp
Modified: llvm/trunk/lib/Transforms/IPO/FunctionImport.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/FunctionImport.cpp?rev=309344&r1=309343&r2=309344&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/FunctionImport.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/FunctionImport.cpp Thu Jul 27 18:02:34 2017
@@ -61,7 +61,7 @@ static cl::opt<float> ImportHotInstrFact
"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(
More information about the llvm-commits
mailing list