[llvm] [IPO] NFC: avoid recalculating FunctionId hashes during ProfiledCallGraph construction (PR #109014)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 26 06:00:31 PDT 2024
================
@@ -58,6 +58,19 @@ struct ProfiledCallGraphNode {
edges Edges;
};
+struct PrehashedFunctionId {
+
+ PrehashedFunctionId() = default;
+
+ /* implicit */ PrehashedFunctionId(FunctionId FId)
----------------
nikic wrote:
nit: Drop implicit comment.
https://github.com/llvm/llvm-project/pull/109014
More information about the llvm-commits
mailing list