[Mlir-commits] [mlir] [mlir][dataflow] Update dataflow tutorial doc and add dataflow example code (PR #149296)
Mehdi Amini
llvmlistbot at llvm.org
Fri Aug 8 07:58:42 PDT 2025
================
@@ -129,18 +111,28 @@ struct MetadataLatticeValue {
bool operator==(const MetadataLatticeValue &rhs) const {
if (metadata.size() != rhs.metadata.size())
return false;
+
// Check that `rhs` contains the same metadata.
- for (const auto &it : metadata) {
- auto rhsIt = rhs.metadata.find(it.first);
- if (rhsIt == rhs.metadata.end() || it.second != rhsIt.second)
+ for (auto &&it : metadata) {
----------------
joker-eph wrote:
(Discussed in the implementation, resolving here to not duplicate)
https://github.com/llvm/llvm-project/pull/149296
More information about the Mlir-commits
mailing list