HF RL Explorer

Repair a verified behavior in llvm/circt.

Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The -hw-legalize-modules pass (HWLegalizeModules, implemented in lib/Dialect/SV/Transforms/HWLegalizeModules.cpp ) runs late in the SV/HW lowering pipeline to remove constructs that the target Verilog flow does…

The task

The `-hw-legalize-modules` pass (HWLegalizeModules, implemented in `lib/Dialect/SV/Transforms/HWLegalizeModules.cpp`) runs late in the SV/HW lowering pipeline to remove constructs that the target Verilog flow does not support, as configured by `LoweringOptions`. When the `disallowPackedArrays` option is active…

Part of henryen/OriGent-SFT-Data.