Skip to content

Commit 01d6bd1

Browse files
[mlir][Transforms] Fix build after #116524 (part 2)
1 parent 4a7c0b8 commit 01d6bd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Transforms/Utils/DialectConversion.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ namespace {
103103

104104
/// Helper class to make it possible to use `ValueVector` as a key in DenseMap.
105105
struct ValueVectorMapInfo {
106-
static ValueVector getEmptyKey() { return ValueVector{}; }
107-
static ValueVector getTombstoneKey() { return ValueVector{}; }
106+
static ValueVector getEmptyKey() { return ValueVector{Value()}; }
107+
static ValueVector getTombstoneKey() { return ValueVector{Value(), Value()}; }
108108
static ::llvm::hash_code getHashValue(const ValueVector &val) {
109109
return ::llvm::hash_combine_range(val.begin(), val.end());
110110
}

0 commit comments

Comments
 (0)