Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The FIRRTL canonicalizer does not consistently fold binary integer operations whose result has a known width of zero. For example, a firrtl.div whose left operand and result are !firrtl.uint<0 while its right…
The task
The FIRRTL canonicalizer does not consistently fold binary integer operations whose result has a known width of zero. For example, a `firrtl.div` whose left operand and result are `!firrtl.uint<0>` while its right operand is `!firrtl.uint<1>` can survive canonicalization even though a zero-width integer result can…
Part of henryen/OriGent-SFT-Data.