mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-20 10:10:23 +00:00
Remove redundant construction of assign_map
.
We call 'assign_map.set()' below which wipes the `SigMap` and reconstructs it. This operation is expensive because it scans the whole module. I think it's better to make heavyweight operations more visible so I'm removing the less obvious operation.
This commit is contained in:
parent
4a324e1da8
commit
3f2c4f6f83
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ struct OptMergeWorker
|
|||
}
|
||||
|
||||
OptMergeWorker(RTLIL::Design *design, RTLIL::Module *module, bool mode_nomux, bool mode_share_all, bool mode_keepdc) :
|
||||
design(design), module(module), assign_map(module), mode_share_all(mode_share_all)
|
||||
design(design), module(module), mode_share_all(mode_share_all)
|
||||
{
|
||||
total_count = 0;
|
||||
ct.setup_internals();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue