Skip to content

Commit 9202207

Browse files
authored
Clean up ElideKrnlGlobalConstants (onnx#2740)
Signed-off-by: Tung D. Le <[email protected]>
1 parent 178ec84 commit 9202207

File tree

5 files changed

+0
-194
lines changed

5 files changed

+0
-194
lines changed

src/Tools/onnx-mlir-opt/RegisterPasses.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,6 @@ void registerOMPasses(int optLevel) {
9696
return createProcessScfParallelPrivatePass();
9797
});
9898

99-
mlir::registerPass([]() -> std::unique_ptr<mlir::Pass> {
100-
return createElideConstGlobalValuePass();
101-
});
102-
10399
mlir::registerPass([]() -> std::unique_ptr<mlir::Pass> {
104100
return krnl::createConvertSeqToMemrefPass();
105101
});

src/Transform/CMakeLists.txt

-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
# SPDX-License-Identifier: Apache-2.0
22

3-
add_onnx_mlir_library(OMElideKrnlGlobalConstants
4-
ElideKrnlGlobalConstants.cpp
5-
6-
LINK_LIBS PUBLIC
7-
OMKrnlOps
8-
MLIRTransformUtils
9-
)
10-
113
add_onnx_mlir_library(OMLowerKrnlRegion
124
LowerKrnlRegion.cpp
135

src/Transform/ElideKrnlGlobalConstants.cpp

-115
This file was deleted.

src/Transform/ElideKrnlGlobalConstants.hpp

-39
This file was deleted.

test/mlir/krnl/krnl_global_elision.mlir

-28
This file was deleted.

0 commit comments

Comments
 (0)