[llvm] [DenseMap] memcpy buckets with trivial copy constructor and destructor. NFC (PR #224193)
Alexis Engelke via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 16 23:11:56 PDT 2026
================
@@ -475,10 +475,17 @@ TEST(DenseMapCustomTest, EqualityComparison) {
}
using IntBucket = detail::DenseMapPair<int, int>;
+using PairKeyBucket = detail::DenseMapPair<std::pair<int, int>, int>;
+using PairValueBucket = detail::DenseMapPair<int, std::pair<int, int>>;
+using PairPairBucket =
+ detail::DenseMapPair<std::pair<int, int>, std::pair<int, int>>;
----------------
aengelke wrote:
Missing assertions for these? Also, a negative test for isRelocatableBucket would be good.
https://github.com/llvm/llvm-project/pull/224193
More information about the llvm-commits
mailing list