[all-commits] [llvm/llvm-project] fc1e24: [ADT] Extract SmallDenseMapStorage from SmallDense...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Mon Sep 28 09:29:50 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc1e244c970c1ab169fb1b43c06797a931fe7082
      https://github.com/llvm/llvm-project/commit/fc1e244c970c1ab169fb1b43c06797a931fe7082
  Author: Kazu Hirata <kazu at google.com>
  Date:   2026-09-28 (Mon, 28 Sep 2026)

  Changed paths:

  Log Message:
  -----------
  [ADT] Extract SmallDenseMapStorage from SmallDenseMap (NFC) (#226882)

This patch extracts the inline and heap bucket and occupancy storage
management from SmallDenseMap into a new helper class,
densemap::detail::SmallDenseMapStorage, and updates SmallDenseMap to
use it via composition.

This is part of the effort to replace CRTP in DenseMapBase with
composition (see #168255 and #226664).  With both DenseMapStorage and
SmallDenseMapStorage in place, the next patch will remove CRTP from
DenseMapBase.

Assisted-by: Antigravity



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