[llvm] [IPO] NFC: avoid recalculating FunctionId hashes during ProfiledCallGraph construction (PR #109014)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 11:53:42 PDT 2024


================
@@ -58,6 +58,19 @@ struct ProfiledCallGraphNode {
   edges Edges;
 };
 
+struct PrehashedFunctionId {
+
+  PrehashedFunctionId() = default;
+
+  /* implicit */ PrehashedFunctionId(FunctionId FId)
----------------
itrofimow wrote:

Done

https://github.com/llvm/llvm-project/pull/109014


More information about the llvm-commits mailing list