This PR vendors all of the AIE/AIEX passes under our own namespace mlir::iree_compiler::AMDAIE.
Notes:
We still depend (until subsequent PRs) on #include "aie/Dialect/AIE/IR/AIEDialect.h" and #include "aie/Dialect/AIEX/IR/AIEXDialect.h" for AIE/AIEX ops (this PR specifically removes all Transforms/AIEPassses.h etc);
It's not worth bikeshedding/auditing this code yet - subsequent PRs refactor many things dramatically (e.g., removing AIEXToStandard and AIEToStandard passes and joining AIEDmaToNpu with AIETargetNPU). This was the point of merging the mlir-aie lit/unit tests early :)
@nirvedhmeshram @newling this is now ready for review.
This PR is part of a stack of PRs that refactor the dependency on MLIR-AIE. See https://github.com/nod-ai/iree-amd-aie/issues/430 for more information.
This PR vendors all of the AIE/AIEX passes under our own namespace
mlir::iree_compiler::AMDAIE
.Notes:
#include "aie/Dialect/AIE/IR/AIEDialect.h"
and#include "aie/Dialect/AIEX/IR/AIEXDialect.h"
for AIE/AIEX ops (this PR specifically removes allTransforms/AIEPassses.h
etc);AIEXToStandard
andAIEToStandard
passes and joiningAIEDmaToNpu
withAIETargetNPU
). This was the point of merging themlir-aie
lit/unit tests early :)@nirvedhmeshram @newling this is now ready for review.