kernel: clear some more ShareWorker state
authorEddie Hung <eddie@fpgeh.com>
Thu, 26 Mar 2020 22:05:45 +0000 (15:05 -0700)
committerEddie Hung <eddie@fpgeh.com>
Thu, 26 Mar 2020 22:05:45 +0000 (15:05 -0700)
passes/opt/share.cc

index 0dea500ddd8d81cb271e884f17a07428b5f86a53..fd72c762bd564b28a79fb8e6f9b1b5e1c35e3058 100644 (file)
@@ -1156,6 +1156,10 @@ struct ShareWorker
                topo_cell_drivers.clear();
                topo_bit_drivers.clear();
                exclusive_ctrls.clear();
+               terminal_bits.clear();
+               shareable_cells.clear();
+               forbidden_controls_cache.clear();
+               activation_patterns_cache.clear();
 
                find_terminal_bits();
                find_shareable_cells();