[all-commits] [llvm/llvm-project] c2d5d3: [mlir][transform] Add `transform.apply_dce` op

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Jul 21 23:30:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2d5d348a81b60be322d461b70fc0cc2fbee8b73
      https://github.com/llvm/llvm-project/commit/c2d5d348a81b60be322d461b70fc0cc2fbee8b73
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-07-22 (Sat, 22 Jul 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
    M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
    M mlir/test/Dialect/Transform/test-interpreter.mlir

  Log Message:
  -----------
  [mlir][transform] Add `transform.apply_dce` op

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.

Differential Revision: https://reviews.llvm.org/D155954




More information about the All-commits mailing list