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

Clean up ElideKrnlGlobalConstants #2740

Merged
merged 1 commit into from
Mar 5, 2024
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
4 changes: 0 additions & 4 deletions src/Tools/onnx-mlir-opt/RegisterPasses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,6 @@ void registerOMPasses(int optLevel) {
return createProcessScfParallelPrivatePass();
});

mlir::registerPass([]() -> std::unique_ptr<mlir::Pass> {
return createElideConstGlobalValuePass();
});

mlir::registerPass([]() -> std::unique_ptr<mlir::Pass> {
return krnl::createConvertSeqToMemrefPass();
});
Expand Down
8 changes: 0 additions & 8 deletions src/Transform/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

add_onnx_mlir_library(OMElideKrnlGlobalConstants
ElideKrnlGlobalConstants.cpp

LINK_LIBS PUBLIC
OMKrnlOps
MLIRTransformUtils
)

add_onnx_mlir_library(OMLowerKrnlRegion
LowerKrnlRegion.cpp

Expand Down
115 changes: 0 additions & 115 deletions src/Transform/ElideKrnlGlobalConstants.cpp

This file was deleted.

39 changes: 0 additions & 39 deletions src/Transform/ElideKrnlGlobalConstants.hpp

This file was deleted.

28 changes: 0 additions & 28 deletions test/mlir/krnl/krnl_global_elision.mlir

This file was deleted.

Loading