diff options
author | Kazu Hirata <kazu@google.com> | 2024-11-14 17:28:56 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-14 17:28:56 -0800 |
commit | 17bc738324274f1cf54d30552d65751d216e7ad0 (patch) | |
tree | 1a69c454910a46c53499c8406e5adabd18fe659f /llvm/lib/CodeGen/MachineModuleSlotTracker.cpp | |
parent | 40a647fc7dc6048c92e2d580b61f5feca0785980 (diff) | |
download | llvm-17bc738324274f1cf54d30552d65751d216e7ad0.zip llvm-17bc738324274f1cf54d30552d65751d216e7ad0.tar.gz llvm-17bc738324274f1cf54d30552d65751d216e7ad0.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleSlotTracker.cpp')
0 files changed, 0 insertions, 0 deletions