3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-06 09:51:10 +00:00

Merge pull request #5287 from Anhijkt/opt_dff-fix-5279

opt_dff: fix timeout issue
This commit is contained in:
Emil J 2025-09-01 11:20:35 +02:00 committed by GitHub
commit 5aa71505fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 707 additions and 1 deletions

View file

@ -199,7 +199,7 @@ struct OptDffWorker
const auto complimentary_var = find_comp(left, right);
if (complimentary_var) {
if (complimentary_var && new_patterns.count(right)) {
new_patterns.erase(right);
right.erase(complimentary_var.value());
new_patterns.insert(right);