[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jun 14 12:28:37 PDT 2024


================
@@ -180,6 +186,13 @@ struct BlendedBlockHash {
   uint8_t SuccHash{0};
 };
 
+/// A data object containing function matching information.
+struct FunctionMatchingData {
+public:
----------------
WenleiHe wrote:

nit: public is not needed for struct since it's the default. also if we only have one counter, the struct seems like an overkill. we could just keep it simple and use an integer counter for now without a struct, and expand later if needed.

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


More information about the llvm-branch-commits mailing list