It's not necessary to go from LinalgExt::PackOp -> air::DmaMemcpyNdOp -> AMDAIE::DmaCpyNdOp. With packToDma pass decoupled from AIR pipeline in https://github.com/nod-ai/iree-amd-aie/pull/773, we can refactor the codes to convert directly from PackOp to AMDAIE::DmaCpyNdOp. As a consequence, AIRDmaToAMDAIEDma pass is eliminated.
I'm also thinking maybe it's good to rename AMDAIEPackToDma to AMDAIEPackToLogicalObjectFifoDma?
It's not necessary to go from
LinalgExt::PackOp -> air::DmaMemcpyNdOp -> AMDAIE::DmaCpyNdOp
. With packToDma pass decoupled from AIR pipeline in https://github.com/nod-ai/iree-amd-aie/pull/773, we can refactor the codes to convert directly from PackOp to AMDAIE::DmaCpyNdOp. As a consequence,AIRDmaToAMDAIEDma
pass is eliminated.I'm also thinking maybe it's good to rename
AMDAIEPackToDma
toAMDAIEPackToLogicalObjectFifoDma
?