[llvm-branch-commits] [llvm] [BOLT] Add pseudo probe inline tree to YAML profile (PR #107137)

Amir Ayupov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Sep 11 18:21:12 PDT 2024


================
@@ -95,24 +95,30 @@ template <> struct MappingTraits<bolt::SuccessorInfo> {
 
 namespace bolt {
 struct PseudoProbeInfo {
-  llvm::yaml::Hex64 GUID;
-  uint64_t Index;
-  uint8_t Type;
+  uint32_t InlineTreeIndex = 0;
+  uint64_t BlockMask = 0; // bitset with probe indices
----------------
aaupov wrote:

The profile without using BlockMask is 3.4% larger, the size goes from 92MB to 95MB (same test binary/profile). I think it's worth it, but open to your suggestion.



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


More information about the llvm-branch-commits mailing list