[all-commits] [llvm/llvm-project] 17bc73: [memprof] Make ContextNode smaller (#116271)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Thu Nov 14 17:29:18 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 17bc738324274f1cf54d30552d65751d216e7ad0
https://github.com/llvm/llvm-project/commit/17bc738324274f1cf54d30552d65751d216e7ad0
Author: Kazu Hirata <kazu at google.com>
Date: 2024-11-14 (Thu, 14 Nov 2024)
Changed paths:
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
Log Message:
-----------
[memprof] Make ContextNode smaller (#116271)
With this patch, sizeof(ContextNode) goes down from 144 to 128.
Note that SmallVector<T, 0> uses uint32_t for its capacity and size
fields.
I could change other instances of std::vector to SmallVector<T, 0>,
but that would require updates to many places, so I am leaving them
alone for now.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list