[PATCH] D72482: [mlir] Add a DCE pass for dead symbols.
River Riddle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 14:39:12 PST 2020
rriddle created this revision.
rriddle added reviewers: mehdi_amini, jpienaar.
Herald added subscribers: llvm-commits, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, mgorny.
Herald added a project: LLVM.
This pass deletes all symbols that are found to be unreachable. This is done by computing the set of operations that are known to be live, propagating that liveness to other symbols, and then deleting all symbols that are not within this live set.
Depends On D72044 <https://reviews.llvm.org/D72044>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D72482
Files:
mlir/include/mlir/IR/SymbolTable.h
mlir/include/mlir/Transforms/Passes.h
mlir/lib/IR/SymbolTable.cpp
mlir/lib/Transforms/CMakeLists.txt
mlir/lib/Transforms/SymbolDCE.cpp
mlir/test/IR/test-symbol-dce.mlir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72482.237205.patch
Type: text/x-patch
Size: 33095 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200109/53b1cbe3/attachment-0001.bin>
More information about the llvm-commits
mailing list