[PATCH] D17424: Set MaxFunctionCount for SampleProfileReader.
Easwaran Raman via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 18 17:08:13 PST 2016
eraman added a comment.
I'm going to check in a patch (Diego has approved it) that will provide profile summary to sample profile reader. Profile summary has max function count, so you should be able to call something like M.setMaximumFunctionCount(Reader->getProfileSummary()->getHeadSamples()). I am also going to replace the MaxFunctionCount module flag with a flag for profile summary. One that lands, setMaximumFunctionCount will be obsolete. So I suggest that you drop this patch.
http://reviews.llvm.org/D17424
More information about the llvm-commits
mailing list