Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). FIRRTL's const type modifier and the firrtl.constCast op (which casts constness away from a value) exist so the compiler can check, once and early, that values declared constant are only used in constant ways…
The task
FIRRTL's `const` type modifier and the `firrtl.constCast` op (which casts constness away from a value) exist so the compiler can check, once and early, that values declared constant are only used in constant ways. After that check they are dead weight: every later stage is supposed to see plain non-`const` types and…
Part of henryen/OriGent-SFT-Data.