Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The circt-reduce tool applies each reduction pattern to operations strictly in the order in which they appear in the IR. The Reduction::match interface in tools/circt-reduce/Reduction.h can only answer whether…
The task
The `circt-reduce` tool applies each reduction pattern to operations strictly in the order in which they appear in the IR. The `Reduction::match` interface in `tools/circt-reduce/Reduction.h` can only answer whether a pattern applies to an operation, not how valuable applying it would be: the tool walks a clone of…
Part of henryen/OriGent-SFT-Data.