[llvm] 329ee76 - [MC][NFC] Drop unused MCDecodedPseudoProbeInlineTree::ChildrenToProcess (#100576)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 25 16:36:46 PDT 2024


Author: Amir Ayupov
Date: 2024-07-25T16:36:43-07:00
New Revision: 329ee76fdde16e212df61cd4c9953b8fb332f652

URL: https://github.com/llvm/llvm-project/commit/329ee76fdde16e212df61cd4c9953b8fb332f652
DIFF: https://github.com/llvm/llvm-project/commit/329ee76fdde16e212df61cd4c9953b8fb332f652.diff

LOG: [MC][NFC] Drop unused MCDecodedPseudoProbeInlineTree::ChildrenToProcess (#100576)

The usage was removed in 3f97016857b0305294f3a55ea220884fb50ce033.

Results in a slight peak RSS reduction in
`perf2bolt --profile-use-pseudo-probes` from 17.24 to 16.85 GiB.

Added: 
    

Modified: 
    llvm/include/llvm/MC/MCPseudoProbe.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/MC/MCPseudoProbe.h b/llvm/include/llvm/MC/MCPseudoProbe.h
index 5344dea4141b3..54a7f832e5008 100644
--- a/llvm/include/llvm/MC/MCPseudoProbe.h
+++ b/llvm/include/llvm/MC/MCPseudoProbe.h
@@ -280,8 +280,6 @@ class MCDecodedPseudoProbeInlineTree
                                          MCDecodedPseudoProbeInlineTree> {
 public:
   InlineSite ISite;
-  // Used for decoding
-  uint32_t ChildrenToProcess = 0;
 
   MCDecodedPseudoProbeInlineTree() = default;
   MCDecodedPseudoProbeInlineTree(const InlineSite &Site) : ISite(Site){};


        


More information about the llvm-commits mailing list