Add a transform that eliminates dead operations. This is useful after certain transforms (such as fusion) that create/clone new IR but leave the original IR in place.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D155954
[mlir][transform] Add `transform.apply_dce` op ClosedPublic Authored by springerm on Jul 21 2023, 7:09 AM.
Details Summary Add a transform that eliminates dead operations. This is useful after certain transforms (such as fusion) that create/clone new IR but leave the original IR in place.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 21 2023, 7:40 AM Closed by commit rGc2d5d348a81b: [mlir][transform] Add `transform.apply_dce` op (authored by springerm). · Explain WhyJul 21 2023, 11:30 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 543150 mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
mlir/lib/Dialect/Transform/IR/TransformOps.cpp
mlir/test/Dialect/Transform/test-interpreter.mlir
|