summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-07-28 01:02:34 +0000
committerDehao Chen <dehao@google.com>2017-07-28 01:02:34 +0000
commit8260d66556f262c9698cea8804234c50e06f5d0f (patch)
tree21ebdf0559cdcf7d7154e210c2eae1d573e232ab /llvm/lib/Transforms/IPO
parent07a5d4372e5025211976645b766319204814ca39 (diff)
downloadbcm5719-llvm-8260d66556f262c9698cea8804234c50e06f5d0f.tar.gz
bcm5719-llvm-8260d66556f262c9698cea8804234c50e06f5d0f.zip
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 llvm-svn: 309344
Diffstat (limited to 'llvm/lib/Transforms/IPO')
-rw-r--r--llvm/lib/Transforms/IPO/FunctionImport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/FunctionImport.cpp b/llvm/lib/Transforms/IPO/FunctionImport.cpp
index de3756e410e..dfb7a8408f8 100644
--- a/llvm/lib/Transforms/IPO/FunctionImport.cpp
+++ b/llvm/lib/Transforms/IPO/FunctionImport.cpp
@@ -61,7 +61,7 @@ static cl::opt<float> ImportHotInstrFactor(
"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(
OpenPOWER on IntegriCloud