Skip to content

Commit

Permalink
Clean up ElideKrnlGlobalConstants (onnx#2740)
Browse files Browse the repository at this point in the history
Signed-off-by: Tung D. Le <[email protected]>
  • Loading branch information
tungld authored Mar 5, 2024
1 parent 178ec84 commit 9202207
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 194 deletions.
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.

0 comments on commit 9202207

Please sign in to comment.