opt_clean: Fix module keep rules.
authorMarcelina Kościelnicka <mwk@0x04.net>
Sun, 9 Aug 2020 11:53:01 +0000 (13:53 +0200)
committerMarcelina Kościelnicka <mwk@0x04.net>
Sun, 9 Aug 2020 11:57:00 +0000 (13:57 +0200)
commit2ab350a7b01aab8f0ed39f518720d6e6792cd6d6
treefd6ebe9f88b7687c9ecf32b1b84d75773717dc6f
parent9a4f420b4b8285bd05181b6988c35ce45e3c979a
opt_clean: Fix module keep rules.

- wires with keep attribute now force a module to be kept
- presence of $memwr and $meminit cells no longer forces a module to be
  kept
passes/opt/opt_clean.cc