Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The Comb dialect's canonicalizer can narrow an operation's width when only a narrower range of its result bits is needed. That rewrite attempts to preserve discardable attributes, but it currently drops an…
The task
The Comb dialect's canonicalizer can narrow an operation's width when only a narrower range of its result bits is needed. That rewrite attempts to preserve discardable attributes, but it currently drops an operation's inherent two-state (`bin`) attribute.
Part of henryen/OriGent-SFT-Data.