Repair a verified behavior in xilinx/mlir-aie.
Repair a verified behavior in xilinx/mlir-aie.: a task in OriGent-SFT-Data (Harbor dataset). The aie-dma-to-npu lowering of aiex.npu.dma memcpy nd calculates the wrong runtime address patch when a transfer supplies four offsets and strides but refers to a rank-3 memref. For example, for %arg0 …
The task
The `aie-dma-to-npu` lowering of `aiex.npu.dma_memcpy_nd` calculates the wrong runtime address patch when a transfer supplies four offsets and strides but refers to a rank-3 memref. For example, for `%arg0 : memref<2x64x64xi32>` with offsets `[1, 0, 0, 0]`, sizes `[1, 2, 32, 32]`, and strides `[4096, 2048, 64, 1]`,…
Part of henryen/OriGent-SFT-Data.