Ignore $scopeinfo in opt_merge

This commit is contained in:
Jannis Harder 2024-01-11 14:10:13 +01:00
parent 9288107f43
commit bfd9cf63db
1 changed files with 3 additions and 0 deletions

View File

@ -272,6 +272,9 @@ struct OptMergeWorker
if ((!mode_share_all && !ct.cell_known(cell->type)) || !cell->known())
continue;
if (cell->type == ID($scopeinfo))
continue;
uint64_t hash = hash_cell_parameters_and_connections(cell);
auto r = sharemap.insert(std::make_pair(hash, cell));
if (!r.second) {