Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The Arc MergeIfs transformation incorrectly sinks an operation that contains an Arc write. For example, when an outer-level scf.if produces a value and its then-region executes arc.state write , and that scf.if…
The task
The Arc MergeIfs transformation incorrectly sinks an operation that contains an Arc write. For example, when an outer-level `scf.if` produces a value and its then-region executes `arc.state_write`, and that `scf.if` is followed by another conditional whose body consumes the produced value, MergeIfs can move the first…
Part of henryen/OriGent-SFT-Data.