[llvm] 6939411 - [docs] mention that DenseMap has a SmallDenseMap variant (#70677)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 30 10:08:02 PDT 2023
Author: Nick Desaulniers
Date: 2023-10-30T10:07:58-07:00
New Revision: 693941132e27d82f068acbb7f27e134989987de6
URL: https://github.com/llvm/llvm-project/commit/693941132e27d82f068acbb7f27e134989987de6
DIFF: https://github.com/llvm/llvm-project/commit/693941132e27d82f068acbb7f27e134989987de6.diff
LOG: [docs] mention that DenseMap has a SmallDenseMap variant (#70677)
via https://github.com/llvm/llvm-project/pull/67699/files#r1375105711
Added:
Modified:
llvm/docs/ProgrammersManual.rst
Removed:
################################################################################
diff --git a/llvm/docs/ProgrammersManual.rst b/llvm/docs/ProgrammersManual.rst
index 22e95261e639256..5bc71bea77cdfc6 100644
--- a/llvm/docs/ProgrammersManual.rst
+++ b/llvm/docs/ProgrammersManual.rst
@@ -2323,6 +2323,10 @@ construct, but cheap to compare against. The DenseMapInfo is responsible for
defining the appropriate comparison and hashing methods for each alternate key
type used.
+DenseMap.h also contains a SmallDenseMap variant, that similar to
+:ref:`SmallVector <dss_smallvector>` performs no heap allocation until the
+number of elements in the template parameter N are exceeded.
+
.. _dss_valuemap:
llvm/IR/ValueMap.h
More information about the llvm-commits
mailing list