Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The CombToArith conversion pass, which lowers comb arithmetic operations to the arith dialect (and is used by arcilator when JIT-compiling designs), mishandles division and modulo by zero: it coarsens the comb…
The task
The CombToArith conversion pass, which lowers `comb` arithmetic operations to the `arith` dialect (and is used by arcilator when JIT-compiling designs), mishandles division and modulo by zero: it coarsens the `comb` dialect's value-level "undefined value" semantics into C/LLVM-level undefined behavior.
Part of henryen/OriGent-SFT-Data.