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 FIRRTL dialect supports enum types ( !firrtl.enum<field: type, ... ) and the firrtl.subtag expression, which extracts the payload of a named field from an enum value. However, there is no expression that…

The task

The FIRRTL dialect supports enum types (`!firrtl.enum<field: type, ...>`) and the `firrtl.subtag` expression, which extracts the payload of a named field from an enum value. However, there is no expression that returns the tag of an enum value itself, i.e. the discriminator that identifies which field the value…

Part of henryen/OriGent-SFT-Data.