[PATCH] D37091: Expose -mllvm -accurate-sample-profile to clang.
David Li via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 23 20:17:18 PDT 2017
davidxl added inline comments.
================
Comment at: docs/ClangCommandLineReference.rst:176
+
+If sample profile is accurate, we will mark all un-sampled callsite as cold. Otherwise, treat un-sampled callsites as if we have no profile
+
----------------
If the sample profile is accurate, callsites without profile samples are marked as cold. Otherwise, ...,
This option can be used to enable more aggressive size optimization based on profiles.
================
Comment at: include/clang/Driver/Options.td:593
+ HelpText<"If sample profile is accurate, we will mark all un-sampled "
+ "callsite as cold. Otherwise, treat un-sampled callsites as if "
+ "we have no profile">;
----------------
un-sampled callsites --> callsites without profile samples
https://reviews.llvm.org/D37091
More information about the cfe-commits
mailing list