Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The circt-opt --convert-to-llvm pipeline leaves an hw.constant unchanged when lowering a func.func , even though the surrounding function is converted to llvm.func . For example, returning an hw.constant 42 …
The task
The `circt-opt --convert-to-llvm` pipeline leaves an `hw.constant` unchanged when lowering a `func.func`, even though the surrounding function is converted to `llvm.func`. For example, returning an `hw.constant 42 : i32` from an otherwise LLVM function still produces an `hw.constant` in the output. Constants used as…
Part of henryen/OriGent-SFT-Data.