Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The --convert-hw-to-systemc pass of circt-opt leaks memory whenever it fails to legalize an operation and the conversion is aborted and rolled back.
The task
The `--convert-hw-to-systemc` pass of `circt-opt` leaks memory whenever it fails to legalize an operation and the conversion is aborted and rolled back.
Part of henryen/OriGent-SFT-Data.