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). The Handshake external-memory lowering pass ( handshake-lower-extmem-to-hw ) truncates every index-typed memory access address to the address width of the memory being accessed, that is the ceiling of the…

The task

The Handshake external-memory lowering pass (`handshake-lower-extmem-to-hw`) truncates every index-typed memory access address to the address width of the memory being accessed, that is the ceiling of the base-2 logarithm of the memref element count. That width is zero exactly when the memref holds a single element…

Part of henryen/OriGent-SFT-Data.