Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The arc-lower-state pass incorrectly nests the reset logic generated for multiple state transfer arcs. When a module contains two or more latency-1 arc.state operations with explicit reset signals, the scf.if…
The task
The `arc-lower-state` pass incorrectly nests the reset logic generated for multiple state transfer arcs. When a module contains two or more latency-1 `arc.state` operations with explicit reset signals, the `scf.if` operation for each later state is emitted inside the `else` region of the preceding state's reset…
Part of henryen/OriGent-SFT-Data.