[PATCH] D136846: [Driver] Add -fsample-profile-use-profi

Sergey Pupyrev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 3 12:02:13 PDT 2022


spupyrev added a comment.

Thanks @HaoyuZhang for adding the flag and the documentation. I just edited the 
message a bit; otherwise looks good.



================
Comment at: clang/docs/UsersManual.rst:2244
 
+  [OPTIONAL] During the sampling, the profiles may have errors or missing
+  blocks. Profi (profile inference) algorithm can infer block and edge counts
----------------
[OPTIONAL] Sampling-based profiles can have inaccuracies or missing block/edge
counters. The profile inference algorithm (profi) can be used to infer missing 
block and edge counts and improve the quality of profile data. To apply the
optimization, add an extra flag ``-fsample-profile-use-profi`` to the command 
line.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136846



More information about the cfe-commits mailing list