Skip to content

Commit 6939411

Browse files
[docs] mention that DenseMap has a SmallDenseMap variant (#70677)
via https://github.com/llvm/llvm-project/pull/67699/files#r1375105711
1 parent a1b4005 commit 6939411

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/docs/ProgrammersManual.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2323,6 +2323,10 @@ construct, but cheap to compare against. The DenseMapInfo is responsible for
23232323
defining the appropriate comparison and hashing methods for each alternate key
23242324
type used.
23252325

2326+
DenseMap.h also contains a SmallDenseMap variant, that similar to
2327+
:ref:`SmallVector <dss_smallvector>` performs no heap allocation until the
2328+
number of elements in the template parameter N are exceeded.
2329+
23262330
.. _dss_valuemap:
23272331

23282332
llvm/IR/ValueMap.h

0 commit comments

Comments
 (0)