Repair a verified behavior in verilator/verilator.
Repair a verified behavior in verilator/verilator.: a task in OriGent-RL-Data (Harbor dataset). Verilator's DFG peephole optimizer does not exploit several trivial arithmetic and comparison identities. For combinational expressions synthesized into the DFG, it currently leaves x - x as a…
The task
Verilator's DFG peephole optimizer does not exploit several trivial arithmetic and comparison identities. For combinational expressions synthesized into the DFG, it currently leaves `x - x` as a subtraction instead of replacing it with zero; leaves `x / 1` as a division rather than replacing it with `x`; and leaves…
Part of henryen/OriGent-RL-Data.