diff options
author | Kazu Hirata <kazu@google.com> | 2025-04-18 01:07:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-18 01:07:05 -0700 |
commit | 5db95fd6ca8cae62c6ab6acf17b00c3417d2018d (patch) | |
tree | edd9f909653d9b8397124574deec167ceece4826 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | a99c978d1b35e30d9a0fe9db68b91e9f2815c8e9 (diff) | |
download | llvm-5db95fd6ca8cae62c6ab6acf17b00c3417d2018d.zip llvm-5db95fd6ca8cae62c6ab6acf17b00c3417d2018d.tar.gz llvm-5db95fd6ca8cae62c6ab6acf17b00c3417d2018d.tar.bz2 |
[memprof] Avoid repeated hash lookups (NFC) (#136268)
Note that we don't have to worry about CallstackProfileData[Id]
default-constructing the value side of a new map entry. If that
happens, AccessHistogramSize > 0 wouldn't be true, and the new map
entry gets deleted right away.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions