[PATCH] D24976: [thinlto] Don't decay threshold for hot callsites
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 27 12:16:32 PDT 2016
mehdi_amini added inline comments.
================
Comment at: lib/Transforms/IPO/FunctionImport.cpp:385
@@ -382,1 +384,3 @@
+ if (!IsHotCallsite)
+ Threshold = Threshold * ImportInstrFactor;
computeImportForFunction(*Summary, Index, Threshold, DefinedGVSummaries,
----------------
I rather express this differently: using different factors for the hotness.
(You current proposal would be using 1 as a factor for "hot" calls chains).
https://reviews.llvm.org/D24976
More information about the llvm-commits
mailing list