[PATCH] D154027: [CSSPGO] Enable stale profile matching by default for CSSPGO

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 17:27:35 PDT 2023


hoy added a comment.

Thanks for the change. Would be good to call out some rough numbers measured with our internal services.



================
Comment at: llvm/lib/Transforms/IPO/SampleProfile.cpp:2052
+    // Enable stale profile matching by default for CSSPGO.
+    if (!SalvageStaleProfile.getNumOccurrences())
+      SalvageStaleProfile = true;
----------------
Wrap this under a check of `profileIsPseudoProbed`? 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154027



More information about the llvm-commits mailing list