[PATCH] D78231: [Attributor] KindToAbstractAttributeMap: use SmallDenseMap
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 15 14:20:46 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG639b8da8dc4c: [Attributor] KindToAbstractAttributeMap: use SmallDenseMap (authored by lebedev.ri).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78231/new/
https://reviews.llvm.org/D78231
Files:
llvm/include/llvm/Transforms/IPO/Attributor.h
Index: llvm/include/llvm/Transforms/IPO/Attributor.h
===================================================================
--- llvm/include/llvm/Transforms/IPO/Attributor.h
+++ llvm/include/llvm/Transforms/IPO/Attributor.h
@@ -1207,7 +1207,7 @@
/// the inner level.
///{
using KindToAbstractAttributeMap =
- DenseMap<const char *, AbstractAttribute *>;
+ SmallDenseMap<const char *, AbstractAttribute *, /*InlineBuckets=*/32>;
DenseMap<IRPosition, KindToAbstractAttributeMap> AAMap;
///}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78231.257847.patch
Type: text/x-patch
Size: 513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200415/603437f3/attachment.bin>
More information about the llvm-commits
mailing list