[all-commits] [llvm/llvm-project] d4562a: [MemProf] Use DenseMap for call map (NFC) (#151161)

Teresa Johnson via All-commits all-commits at lists.llvm.org
Tue Jul 29 08:18:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d4562a19911e05cf9d81c6857e94cfb1307d4315
      https://github.com/llvm/llvm-project/commit/d4562a19911e05cf9d81c6857e94cfb1307d4315
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2025-07-29 (Tue, 29 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

  Log Message:
  -----------
  [MemProf] Use DenseMap for call map (NFC) (#151161)

There is no reason to use std::map for the call maps maintained for
function clones during function clone assignment, as we don't iterate
over them and don't need deterministic ordering, so use the more
efficient DenseMap.



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