Skip to content

Commit

Permalink
[Flow] Allow CollapseDimensions pass to fold reduction dimensions as …
Browse files Browse the repository at this point in the history
…well (#14656)

This makes the CollapseReductionDims pass redundant and can be dropped.
  • Loading branch information
MaheshRavishankar authored Sep 28, 2023
1 parent 699b34c commit 15ace7e
Show file tree
Hide file tree
Showing 12 changed files with 561 additions and 366 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ iree_compiler_cc_library(
"CleanupTensorShapes.cpp",
"CloneProducersIntoDispatchRegions.cpp",
"CollapseDimensions.cpp",
"CollapseReductionDims.cpp",
"Convert1X1FilterConv2DToMatmul.cpp",
"ConvertRegionToWorkgroups.cpp",
"ConvertToFlow.cpp",
Expand Down Expand Up @@ -100,6 +99,7 @@ iree_compiler_cc_library(
"//llvm-external-projects/iree-dialects:IREELinalgTransformDialect",
"@llvm-project//llvm:Support",
"@llvm-project//mlir:AffineDialect",
"@llvm-project//mlir:AffineUtils",
"@llvm-project//mlir:Analysis",
"@llvm-project//mlir:ArithDialect",
"@llvm-project//mlir:ArithUtils",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ iree_cc_library(
"CleanupTensorShapes.cpp"
"CloneProducersIntoDispatchRegions.cpp"
"CollapseDimensions.cpp"
"CollapseReductionDims.cpp"
"Convert1X1FilterConv2DToMatmul.cpp"
"ConvertRegionToWorkgroups.cpp"
"ConvertToFlow.cpp"
Expand Down Expand Up @@ -82,6 +81,7 @@ iree_cc_library(
IREELinalgTransformDialect
LLVMSupport
MLIRAffineDialect
MLIRAffineUtils
MLIRAnalysis
MLIRArithDialect
MLIRArithUtils
Expand Down
Loading

0 comments on commit 15ace7e

Please sign in to comment.