aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorWei Wang <apollo.mobility@gmail.com>2020-11-17 10:37:59 -0800
committerWei Wang <apollo.mobility@gmail.com>2020-11-30 21:55:49 -0800
commit3acda91742b7e995af87f1afaca5e0fa78669819 (patch)
tree69ce1c1c6d2d406465c68fb335e43ac2286aed0c /llvm/lib/IR/Module.cpp
parentbcc802fa3624ac8cc98b8a11f5315b07fc7bffc4 (diff)
downloadllvm-3acda91742b7e995af87f1afaca5e0fa78669819.zip
llvm-3acda91742b7e995af87f1afaca5e0fa78669819.tar.gz
llvm-3acda91742b7e995af87f1afaca5e0fa78669819.tar.bz2
[Remarks][1/2] Expand remarks hotness threshold option support in more tools
This is the #1 of 2 changes that make remarks hotness threshold option available in more tools. The changes also allow the threshold to sync with hotness threshold from profile summary with special value 'auto'. This change modifies the interface of lto::setupLLVMOptimizationRemarks() to accept remarks hotness threshold. Update all the tools that use it with remarks hotness threshold options: * lld: '--opt-remarks-hotness-threshold=' * llvm-lto2: '--pass-remarks-hotness-threshold=' * llvm-lto: '--lto-pass-remarks-hotness-threshold=' * gold plugin: '-plugin-opt=opt-remarks-hotness-threshold=' Differential Revision: https://reviews.llvm.org/D85809
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions