Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). FIRRTL's firrtl.asUInt operation currently treats a valid enumeration as an aggregate without a usable bit width. For example, an operand of type !firrtl.enum<a: uint<1 , b: uint<2 is rejected with operand must…
The task
FIRRTL's `firrtl.asUInt` operation currently treats a valid enumeration as an aggregate without a usable bit width. For example, an operand of type `!firrtl.enum<a: uint<1>, b: uint<2>>` is rejected with `operand must be a scalar type`, even though the enumeration's total width is known.
Part of henryen/OriGent-SFT-Data.