mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-05 08:30:51 +00:00
pmgen: hold sigmap pointer instead of owning it
This commit is contained in:
parent
647541a4c1
commit
8bbb0acdda
10 changed files with 61 additions and 42 deletions
|
|
@ -101,11 +101,12 @@ struct PeepoptPass : public Pass {
|
|||
{
|
||||
did_something = true;
|
||||
|
||||
SigMap sigmap(module);
|
||||
while (did_something)
|
||||
{
|
||||
did_something = false;
|
||||
|
||||
peepopt_pm pm(module);
|
||||
peepopt_pm pm(module, &sigmap);
|
||||
|
||||
pm.setup(module->selected_cells());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue