[all-commits] [llvm/llvm-project] 50b8a3: [mlir][linalg] Refactor `EraseIdentityGenericOp` t...

srcarroll via All-commits all-commits at lists.llvm.org
Mon Feb 12 10:53:28 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50b8a3c01c6a20327dc3f65d2ee175ce73cdcc73
      https://github.com/llvm/llvm-project/commit/50b8a3c01c6a20327dc3f65d2ee175ce73cdcc73
  Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  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] Refactor `EraseIdentityGenericOp` to be reused by other `LinalgOp`s (#80466)

This refactored pattern rewrite is intended to be reused by any
`LinalgOp`'s canonicalization pattern for removing identity ops.
Additionally, this canonicalization has been applied to `BroadCastOp`.




More information about the All-commits mailing list