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). CIRCT's SCF-to-Calyx conversion pass (SCFToCalyx, run through circt-opt with --lower-scf-to-calyx) lowers memref.alloc/memref.alloca, memref.load, and memref.store into Calyx memories. The bit width of each…

The task

CIRCT's SCF-to-Calyx conversion pass (SCFToCalyx, run through circt-opt with --lower-scf-to-calyx) lowers memref.alloc/memref.alloca, memref.load, and memref.store into Calyx memories. The bit width of each memory address port is derived from the memref shape as ceil(log2(dim)) per dimension. Because log2(1) == 0,…

Part of henryen/OriGent-SFT-Data.