Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LLVMGPU] Drop WorkgroupSpecializationPass #18212

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

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
Loading