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 dialect currently accepts struct and union types that repeat a field name in the same field list. This is unsafe because hw.struct extract , hw.struct inject , and hw.union extract identify fields by…

The task

The HW dialect currently accepts struct and union types that repeat a field name in the same field list. This is unsafe because `hw.struct_extract`, `hw.struct_inject`, and `hw.union_extract` identify fields by name. For example, `!hw.struct<foo: i8, foo: i8>` is currently accepted, after which extracting `"foo"`…

Part of henryen/OriGent-SFT-Data.