[PATCH] D131592: [SampleProfile] Fix non-determinism in promoteMergeNotInlinedContextSamples()

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 11 07:55:02 PDT 2022


wenlei added a comment.

In D131592#3716198 <https://reviews.llvm.org/D131592#3716198>, @aeubanks wrote:

> do you know how to reduce default.cs.xfdo to only include entries for relevant functions?

For text profile, you can edit/delete entries directly. For binary profile, you can convert it to text profile first and then edit. Conversion can be done with llvm-profdat: `llvm-profdata merge --text <input_binary_profile> --output=<output_text_profile>`

We usually use text profile for test cases.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131592/new/

https://reviews.llvm.org/D131592



More information about the llvm-commits mailing list