Preserve empty $pmux default cases
authorClifford Wolf <clifford@clifford.at>
Thu, 31 Mar 2016 07:57:23 +0000 (09:57 +0200)
committerClifford Wolf <clifford@clifford.at>
Thu, 31 Mar 2016 07:57:23 +0000 (09:57 +0200)
passes/proc/proc_rmdead.cc

index f60d4b30dc43c45c1432bee4fdbd5c1400b5b443..af17e8d38f17bf9dc03edb071ca4e58848d48594 100644 (file)
@@ -51,8 +51,8 @@ void proc_rmdead(RTLIL::SwitchRule *sw, int &counter)
                                counter++;
                                continue;
                        }
-                       if (pool.empty())
-                               sw->cases[i]->compare.clear();
+                       // if (pool.empty())
+                       //      sw->cases[i]->compare.clear();
                }
 
                for (auto switch_it : sw->cases[i]->switches)