Skip to content

Commit

Permalink
[LLVMGPU] Drop WorkgroupSpecializationPass pass
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvedhmeshram committed Aug 13, 2024
1 parent 868f41e commit 9356b65
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 448 deletions.
1 change: 0 additions & 1 deletion compiler/src/iree/compiler/Codegen/Common/GPU/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ iree_compiler_cc_library(
"Passes.cpp",
"VectorReductionToGPU.cpp",
"WorkgroupReordering.cpp",
"WorkgroupSpecializationPass.cpp",
],
hdrs = [
"GPUPatterns.h",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ iree_cc_library(
"Passes.cpp"
"VectorReductionToGPU.cpp"
"WorkgroupReordering.cpp"
"WorkgroupSpecializationPass.cpp"
DEPS
::PassHeaders
::PassesIncGen
Expand Down
9 changes: 0 additions & 9 deletions compiler/src/iree/compiler/Codegen/Common/GPU/Passes.td
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,4 @@ def VectorReductionToGPUPass :
];
}

def WorkgroupSpecializationPass :
InterfacePass<"iree-codegen-workgroup-specialization", "mlir::FunctionOpInterface"> {
let summary = "Specialize workgroup distribution loops";
let dependentDialects = [
"::mlir::affine::AffineDialect", "::mlir::linalg::LinalgDialect",
"::mlir::scf::SCFDialect", "::mlir::tensor::TensorDialect",
];
}

#endif // IREE_CODEGEN_COMMON_GPU_PASSES

This file was deleted.

1 change: 0 additions & 1 deletion compiler/src/iree/compiler/Codegen/Common/test/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ iree_lit_test_suite(
"vectorize_memref_copy.mlir",
"vectorize_tensor_pad.mlir",
"vector_layout_analysis.mlir",
"workgroup_specialization.mlir",
],
include = ["*.mlir"],
exclude = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ iree_lit_test_suite(
"vector_layout_analysis.mlir"
"vectorize_memref_copy.mlir"
"vectorize_tensor_pad.mlir"
"workgroup_specialization.mlir"
TOOLS
FileCheck
iree-opt
Expand Down

This file was deleted.

3 changes: 0 additions & 3 deletions compiler/src/iree/compiler/Codegen/LLVMGPU/Passes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ void addGPUVectorizationPassPipeline(OpPassManager &funcPassManager) {
tileAndDistributeToWorkgroup(funcPassManager);

funcPassManager.addPass(createCanonicalizerPass());
funcPassManager.addPass(createWorkgroupSpecializationPass());
funcPassManager.addPass(createCanonicalizerPass());
funcPassManager.addPass(createCSEPass());

Expand Down Expand Up @@ -456,7 +455,6 @@ void addGPUMatmulSimtPassPipeline(OpPassManager &funcPassManager,
tileAndDistributeToWorkgroup(funcPassManager);

funcPassManager.addPass(createCanonicalizerPass());
funcPassManager.addPass(createWorkgroupSpecializationPass());
funcPassManager.addPass(createCanonicalizerPass());
funcPassManager.addPass(createCSEPass());

Expand Down Expand Up @@ -653,7 +651,6 @@ void addGPUTransposePassPipeline(OpPassManager &funcPassManager,
tileAndDistributeToWorkgroup(funcPassManager);

funcPassManager.addPass(createCanonicalizerPass());
funcPassManager.addPass(createWorkgroupSpecializationPass());
funcPassManager.addPass(createCanonicalizerPass());
funcPassManager.addPass(createCSEPass());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ iree_lit_test_suite(
"vector_lowering.mlir",
"vector_to_gpu.mlir",
"winograd_pipeline_test.mlir",
"workgroup_specialization_pipeline_test.mlir",
],
include = ["*.mlir"],
# tensor_dialect_*_spec is a an MLIR file that specifies a
Expand Down
Loading

0 comments on commit 9356b65

Please sign in to comment.