[PATCH] D34868: [Driver] Add -fdiagnostics-hotness-threshold
Brian Gesiak via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 29 23:36:53 PDT 2017
modocache created this revision.
Herald added a subscriber: fhahn.
Depends on https://reviews.llvm.org/D34867.
Add a Clang frontend option to enable optimization remark hotness
thresholds, which were added to LLVM in https://reviews.llvm.org/D34867.
This prevents diagnostics that do not meet a minimum hotness
threshold from being output. When generating optimization remarks for large
codebases with a ton of cold code paths, this option can be used
to limit the optimization remark output at a reasonable size.
Discussion of this change can be read here:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9781 bytes
Desc: not available
More information about the cfe-commits