Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The SCF-to-Calyx lowering pass (circt-opt, pass --lower-scf-to-calyx) lowers scf.while operations by passing each iteration argument through a dedicated Calyx register (e.g. %while 0 arg0 reg, %while 0 arg1…
The task
The SCF-to-Calyx lowering pass (circt-opt, pass --lower-scf-to-calyx) lowers scf.while operations by passing each iteration argument through a dedicated Calyx register (e.g. %while_0_arg0_reg, %while_0_arg1_reg). Before the loop is entered, these registers must be written with the while operation's init operands;…
Part of henryen/OriGent-SFT-Data.