[PATCH] D136627: [SampleFDO] Compute profile mismatch metrics

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 13:13:25 PDT 2022


davidxl added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/SampleProfile.cpp:132
 
+static cl::opt<bool> SampleProfileMatching(
+    "sample-profile-fuzzy-match", cl::Hidden, cl::init(false),
----------------
wenlei wrote:
> davidxl wrote:
> > The stats seems like a useful thing independent of fuzzy matching. Should it be controlled with a different option?
> agreed. something like `-report-profile-staleness`?
sounds good.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136627



More information about the llvm-commits mailing list