[llvm] [SampleFDO] Stale profile call-graph matching (PR #92151)
Lei Wang via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 3 18:23:38 PDT 2024
================
@@ -21,6 +21,7 @@ namespace llvm {
using AnchorList = std::vector<std::pair<LineLocation, FunctionId>>;
using AnchorMap = std::map<LineLocation, FunctionId>;
+using FunctionMap = HashKeyMap<std::unordered_map, FunctionId, Function *>;
----------------
wlei-llvm wrote:
Sounds good to spell out to be explicit.
https://github.com/llvm/llvm-project/pull/92151
More information about the llvm-commits
mailing list