mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-30 06:50:09 +00:00
More hashtable finetuning
This commit is contained in:
parent
88d08e8f24
commit
66ab88d7b0
9 changed files with 40 additions and 18 deletions
|
@ -91,8 +91,8 @@ struct DeletePass : public Pass {
|
|||
continue;
|
||||
}
|
||||
|
||||
pool<RTLIL::Wire*, hash_ptr_ops> delete_wires;
|
||||
pool<RTLIL::Cell*, hash_ptr_ops> delete_cells;
|
||||
pool<RTLIL::Wire*, hash_obj_ops> delete_wires;
|
||||
pool<RTLIL::Cell*, hash_obj_ops> delete_cells;
|
||||
pool<RTLIL::IdString> delete_procs;
|
||||
pool<RTLIL::IdString> delete_mems;
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@ struct SplitnetsPass : public Pass {
|
|||
|
||||
module->rewrite_sigspecs(worker);
|
||||
|
||||
pool<RTLIL::Wire*, hash_ptr_ops> delete_wires;
|
||||
pool<RTLIL::Wire*, hash_obj_ops> delete_wires;
|
||||
for (auto &it : worker.splitmap)
|
||||
delete_wires.insert(it.first);
|
||||
module->remove(delete_wires);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue