[all-commits] [llvm/llvm-project] 338105: [llvm-profdata] Use std::unordered_map in SamplePr...

William Junda Huang via All-commits all-commits at lists.llvm.org
Mon Aug 28 15:32:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33810543ab3c853da6596323035eeeaa8953d553
      https://github.com/llvm/llvm-project/commit/33810543ab3c853da6596323035eeeaa8953d553
  Author: William Huang <williamjhuang at google.com>
  Date:   2023-08-28 (Mon, 28 Aug 2023)

  Changed paths:
    M llvm/include/llvm/ADT/Hashing.h
    M llvm/include/llvm/ProfileData/SampleProf.h

  Log Message:
  -----------
  [llvm-profdata] Use std::unordered_map in SampleProfileMap

Patch D147740 Change back to std::unordered_map for SampleProfileMap because it has reference validity, the change to use llvm::DenseMap is moved to a different patch.

Reviewed By: wenlei, ayermolo

Differential Revision: https://reviews.llvm.org/D159014




More information about the All-commits mailing list