3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-01-09 20:39:00 +00:00

proc_clean: Removing an empty full_case is doing something

This commit is contained in:
Krystine Sherwin 2026-01-07 13:10:32 +13:00
parent fcb8695261
commit c0e29ef57c
No known key found for this signature in database

View file

@ -97,6 +97,7 @@ void proc_clean_switch(RTLIL::SwitchRule *sw, RTLIL::CaseRule *parent, bool &did
all_empty = false;
if (all_empty)
{
did_something = true;
for (auto cs : sw->cases)
delete cs;
sw->cases.clear();