[llvm] [ADT] Exit doFind on an empty map, not just an unallocated one (PR #220294)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 1 09:50:01 PDT 2026
================
@@ -722,7 +722,10 @@ class DenseMapBase : public DebugEpochBase {
template <typename LookupKeyT>
const BucketT *doFind(const LookupKeyT &Val) const {
auto [BucketsPtr, U, NumBuckets] = getRep();
----------------
joker-eph wrote:
Should this be after the check?
https://github.com/llvm/llvm-project/pull/220294
More information about the llvm-commits
mailing list