The dead function elimination pass in toy was a temporary stopgap until we had proper dead function elimination support in MLIR. Now that this functionality is available, this pass is no longer necessary.
Depends On D72482
Paths
| Differential D72483
[mlir] Replace toy::DeadFunctionEliminationPass with symbolDCEPass. ClosedPublic Authored by rriddle on Jan 9 2020, 2:39 PM.
Details Summary The dead function elimination pass in toy was a temporary stopgap until we had proper dead function elimination support in MLIR. Now that this functionality is available, this pass is no longer necessary. Depends On D72482
Diff Detail
Event TimelineComment Actions Unit tests: pass. 61737 tests passed, 0 failed and 779 were skipped. clang-tidy: fail. Please fix clang-tidy findings. clang-format: pass. Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml mehdi_amini added inline comments.
This revision is now accepted and ready to land.Jan 27 2020, 8:22 PM Comment Actions Unit tests: unknown. clang-tidy: unknown. clang-format: unknown. Build artifacts: diff.json, console-log.txt Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project. rriddle removed a parent revision: D72482: [mlir] Add a DCE pass for dead symbols..Jan 27 2020, 11:38 PM Closed by commit rG57540c96bef9: [mlir] Replace toy::DeadFunctionEliminationPass with symbolDCEPass. (authored by rriddle). · Explain WhyJan 27 2020, 11:57 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 240786 mlir/examples/toy/Ch4/CMakeLists.txt
mlir/examples/toy/Ch4/include/toy/Passes.h
mlir/examples/toy/Ch4/mlir/DeadFunctionEliminationPass.cpp
mlir/examples/toy/Ch4/mlir/MLIRGen.cpp
mlir/examples/toy/Ch4/toyc.cpp
mlir/examples/toy/Ch5/CMakeLists.txt
mlir/examples/toy/Ch5/include/toy/Passes.h
mlir/examples/toy/Ch5/mlir/DeadFunctionEliminationPass.cpp
mlir/examples/toy/Ch5/mlir/MLIRGen.cpp
mlir/examples/toy/Ch5/toyc.cpp
mlir/examples/toy/Ch6/CMakeLists.txt
mlir/examples/toy/Ch6/include/toy/Passes.h
mlir/examples/toy/Ch6/mlir/DeadFunctionEliminationPass.cpp
mlir/examples/toy/Ch6/mlir/MLIRGen.cpp
mlir/examples/toy/Ch6/toyc.cpp
mlir/examples/toy/Ch7/CMakeLists.txt
mlir/examples/toy/Ch7/include/toy/Passes.h
mlir/examples/toy/Ch7/mlir/DeadFunctionEliminationPass.cpp
mlir/examples/toy/Ch7/mlir/MLIRGen.cpp
mlir/examples/toy/Ch7/toyc.cpp
mlir/test/Examples/Toy/Ch4/shape_inference.mlir
mlir/test/Examples/Toy/Ch5/shape_inference.mlir
mlir/test/Examples/Toy/Ch6/shape_inference.mlir
mlir/test/Examples/Toy/Ch7/shape_inference.mlir
mlir/test/Examples/Toy/Ch7/struct-codegen.toy
|
This file should get deleted also right?