forked from nod-ai/iree-amd-aie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Decouple packToDma pass from AIR pipeline (nod-ai#773)
It's not necessary to go from `LinalgExt::PackOp` -> `air::DmaMemcpyNdOp` -> `AMDAIE::DmaCpyNdOp`. With `packToDma` pass decoupled from AIR pipeline, we can refactor the codes to convert directly from PackOp to AMDAIE::DmaCpyNdOp (will address in the next PR). For AIR pipeline, `DecomposeLinalgExtPackUnPackToAIR` can be used for both pack-peel and pad-pack pipelines. It doesn't have use `packToDma` pass. As a consequence, `AMDAIECanonicalizeDma` pass can also be eliminated, since similar logic already exists in MLIR-AIR and `AMDAIECanonicalizeDoublyStridedOp` for objectFifo.
- Loading branch information
Showing
8 changed files
with
1 addition
and
203 deletions.
There are no files selected for viewing
166 changes: 0 additions & 166 deletions
166
compiler/plugins/target/AMD-AIE/iree-amd-aie/Transforms/AMDAIECanonicalizeDma.cpp
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
compiler/plugins/target/AMD-AIE/iree-amd-aie/Transforms/test/canonicalize_dma.mlir
This file was deleted.
Oops, something went wrong.