opt_merge - consolidate identical cells

yosys> help opt_merge
opt_merge [options] [selection]
This pass identifies cells with identical type and input signals. Such cells
are then merged to one cell.
Do not merge MUX cells.
Operate on all cell types, not just built-in types.
Do not merge flipflops with don't-care bits in their initial value.