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). The LLHD Mem2Reg pass fails to terminate when circt-opt --llhd-mem2reg processes an llhd.process whose control flow is cyclic. The hang is reproduced when a loop-entry block has predecessors both before and…

The task

The LLHD `Mem2Reg` pass fails to terminate when `circt-opt --llhd-mem2reg` processes an `llhd.process` whose control flow is cyclic. The hang is reproduced when a loop-entry block has predecessors both before and inside the cycle, probes a signal, and uses that probe result as the value for a delayed drive. This same…

Part of henryen/OriGent-SFT-Data.