Skip to content

Commit d934d17

Browse files
[mlir] Call hash_combine_range with a range (NFC) (#139676)
With #136459, we can now invoke hash_combine_range with a range.
1 parent 195fe59 commit d934d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/IR/Properties.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ class ArrayProp<Property elem = Property<>, string newSummary = ""> :
554554
return }] # !subst("$_storage", "propStorage", elem.hashProperty) # [{;
555555
};
556556
auto mapped = ::llvm::map_range($_storage, getElemHash);
557-
return ::llvm::hash_combine_range(mapped.begin(), mapped.end());
557+
return ::llvm::hash_combine_range(mapped);
558558
}()
559559
}]);
560560
}

0 commit comments

Comments
 (0)