Skip to content

Commit

Permalink
add canonicalization to remove identity dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
newling committed Aug 22, 2024
1 parent f2512a8 commit 482d2b0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ void addMLIRAIRLoweringPasses(OpPassManager &passManager, AMDAIEDevice device) {
passManager.addPass(createEraseHALDescriptorTypeFromMemRefPass());
passManager.addPass(memref::createFoldMemRefAliasOpsPass());
passManager.addPass(createAMDAIEBridgeToAIRPass());
passManager.addPass(createCanonicalizerPass());
// TODO (Erwei): Figure out a way to work with AMDAIEPackToDmaPass.
if (clUseTilePipeline == TilePassPipeline::PackPeelPipeline)
passManager.addPass(createAMDAIEDecomposeLinalgExtPackUnPackToAIRPass());
Expand Down

0 comments on commit 482d2b0

Please sign in to comment.