Skip to content

Commit

Permalink
Merge pull request #4878 from YosysHQ/emil/fix-wreduce-warning-in-pool
Browse files Browse the repository at this point in the history
wreduce: fix warning for deprecated IdString::in(pool<IdString>)
  • Loading branch information
widlarizer authored Jan 30, 2025
2 parents 0ab1392 + c269120 commit f445479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion passes/opt/wreduce.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit f445479

Please sign in to comment.