HF RL Explorer

Repair a verified behavior in llvm/circt.

Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). Compiling FIRRTL in which a zero-width integer is compared against another zero-width integer crashes the compiler with an assertion failure instead of folding the comparison. For example, firtool aborts (core…

The task

Compiling FIRRTL in which a zero-width integer is compared against another zero-width integer crashes the compiler with an assertion failure instead of folding the comparison. For example, firtool aborts (core dump) on the following circuit:

Part of henryen/OriGent-SFT-Data.