[all-commits] [llvm/llvm-project] 20245e: [mlir][transform] Add `apply_cse` option to `trans...

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Jul 21 06:19:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20245ed4dea067d281e5d091badf7bcffbb1445b
      https://github.com/llvm/llvm-project/commit/20245ed4dea067d281e5d091badf7bcffbb1445b
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-07-21 (Fri, 21 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-pattern-application.mlir

  Log Message:
  -----------
  [mlir][transform] Add `apply_cse` option to `transform.apply_patterns` op

Applying the canonicalizer and CSE in an interleaved fashion is useful after bufferization (and maybe other transforms) to fold away self copies.

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




More information about the All-commits mailing list