[all-commits] [llvm/llvm-project] 09635d: [mlir][linalg] Specialize LinalgOp canonicalizatio...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09635dc7bfa42bed2809e3ee4edc96d0decdb9db
      https://github.com/llvm/llvm-project/commit/09635dc7bfa42bed2809e3ee4edc96d0decdb9db
  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

  Log Message:
  -----------
  [mlir][linalg] Specialize LinalgOp canonicalization patterns (NFC).

Specialize the DeduplicateInputs and RemoveIdentityLinalgOps patterns for GenericOp instead of implementing them for the LinalgOp interface.

This revsion is based on https://reviews.llvm.org/D105622 that moves the logic to erase identity CopyOps in a separate pattern.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list