diff --git a/mlir/include/mlir/IR/Properties.td b/mlir/include/mlir/IR/Properties.td index 739df03c7ef2e..15b72969dc92f 100644 --- a/mlir/include/mlir/IR/Properties.td +++ b/mlir/include/mlir/IR/Properties.td @@ -554,7 +554,7 @@ class ArrayProp, string newSummary = ""> : return }] # !subst("$_storage", "propStorage", elem.hashProperty) # [{; }; auto mapped = ::llvm::map_range($_storage, getElemHash); - return ::llvm::hash_combine_range(mapped.begin(), mapped.end()); + return ::llvm::hash_combine_range(mapped); }() }]); }