[PATCH] D98921: [CSSPGO][llvm-profgen] Use profile summary based threshold for context trimming and merging

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 18 22:25:20 PDT 2021


wenlei added inline comments.


================
Comment at: llvm/tools/llvm-profgen/ProfileGenerator.cpp:231
     FProfile.setContext(FContext);
+    FProfile.setName(FContext.getNameWithoutContext());
   }
----------------
We need profile name otherwise `UseContextLessSummary` won't work as the merge of context profile needs name key. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98921



More information about the llvm-commits mailing list