This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

rriddle created this revision.Jan 9 2020, 2:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 9 2020, 2:39 PM

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 accepted this revision.Jan 27 2020, 8:22 PM
mehdi_amini added inline comments.
mlir/examples/toy/Ch7/CMakeLists.txt
17

This file should get deleted also right?

This revision is now accepted and ready to land.Jan 27 2020, 8:22 PM
rriddle updated this revision to Diff 240775.Jan 27 2020, 10:52 PM
rriddle marked an inline comment as done.

Resolve comments

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.

This revision was automatically updated to reflect the committed changes.
mlir/examples/toy/Ch7/include/toy/Passes.h