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 capture all values that are live across llhd.wait operations, so its output can still use a value after a suspension point that was defined before it, violating LLHD's combination…
The task
The LLHD `mem2reg` pass fails to capture all values that are live across `llhd.wait` operations, so its output can still use a value after a suspension point that was defined before it, violating LLHD's combination of SSA and suspension semantics.
Part of henryen/OriGent-SFT-Data.