mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #4878 from YosysHQ/emil/fix-wreduce-warning-in-pool
wreduce: fix warning for deprecated IdString::in(pool<IdString>)
This commit is contained in:
commit
f445479374
|
@ -280,7 +280,7 @@ struct WreduceWorker
|
|||
{
|
||||
bool did_something = false;
|
||||
|
||||
if (!cell->type.in(config->supported_cell_types))
|
||||
if (!config->supported_cell_types.count(cell->type))
|
||||
return;
|
||||
|
||||
if (cell->type.in(ID($mux), ID($pmux)))
|
||||
|
|
Loading…
Reference in New Issue