Displaying 1 result from an estimated 1 matches for "updatethreshold".
2016 Mar 04
2
Use of branch weight metadata in enhanced inliner
...able. However, instructions such as __builtin_expect may set branch weight metadata as well, which is useful for inliner.
I think this problem can be addressed by letting llvm::getInlineCost function to use BlockFrequencyAnalysis regardless of availability of profile data, and making CallAnalyzer::updateThreshold to use callsite frequency instead of callsite count. Is there a reason that we allow inliner to use block frequency information only when profile data is given?
Thanks,
Taewook
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-...