[all-commits] [llvm/llvm-project] ca0d24: [mlir][linalg] Introduce a separate EraseIdentityC...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Wed Jul 28 04:19:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca0d244e99f4325711638359eb69f8129b41a63a
      https://github.com/llvm/llvm-project/commit/ca0d244e99f4325711638359eb69f8129b41a63a
  Author: Tobias Gysi <gysit at google.com>
  Date:   2021-07-28 (Wed, 28 Jul 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Linalg/canonicalize.mlir

  Log Message:
  -----------
  [mlir][linalg] Introduce a separate EraseIdentityCopyOp Pattern.

Split out an EraseIdentityCopyOp from the existing RemoveIdentityLinalgOps pattern. Introduce an additional check to ensure the pattern checks the permutation maps match. This is a preparation step to specialize RemoveIdentityLinalgOps to GenericOp only.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list