We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a7c0b8 commit 01d6bd1Copy full SHA for 01d6bd1
mlir/lib/Transforms/Utils/DialectConversion.cpp
@@ -103,8 +103,8 @@ namespace {
103
104
/// Helper class to make it possible to use `ValueVector` as a key in DenseMap.
105
struct ValueVectorMapInfo {
106
- static ValueVector getEmptyKey() { return ValueVector{}; }
107
- static ValueVector getTombstoneKey() { return ValueVector{}; }
+ static ValueVector getEmptyKey() { return ValueVector{Value()}; }
+ static ValueVector getTombstoneKey() { return ValueVector{Value(), Value()}; }
108
static ::llvm::hash_code getHashValue(const ValueVector &val) {
109
return ::llvm::hash_combine_range(val.begin(), val.end());
110
}
0 commit comments