[PATCH] D127031: [CSSPGO][llvm-profgen] Reimplement SampleContextTracker using context trie

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 13:48:23 PDT 2022


hoy added inline comments.


================
Comment at: llvm/include/llvm/Transforms/IPO/SampleContextTracker.h:185
+  // FunctionSamples points to.
+  std::unordered_map<ContextTrieNode *, std::unordered_set<FunctionSamples *>>
+      Node2FSamplesSetMap;
----------------
Actually my previous question could be made more clear as why we need to maintain this map.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127031



More information about the llvm-commits mailing list