3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-03 18:00:24 +00:00
This commit is contained in:
Anhijkt 2025-07-30 21:34:42 +03:00
parent 206d2a4553
commit bfff7a47f1

View file

@ -222,7 +222,7 @@ struct OptDffWorker
if (larger.count(pt.first) == 0 || larger[pt.first] != pt.second) if (larger.count(pt.first) == 0 || larger[pt.first] != pt.second)
redundant = false; redundant = false;
if (redundant) if (redundant)
new_patterns.erase(larger); new_patterns.erase(right);
} }
} }
patterns = std::move(new_patterns); patterns = std::move(new_patterns);