[all-commits] [llvm/llvm-project] 74ed79: [mlir][linalg] Add linalg.transpose constant foldi...

Ryan Holt via All-commits all-commits at lists.llvm.org
Tue May 28 07:42:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 74ed79f7f123788d95f1552800e1af9ceaee4a08
      https://github.com/llvm/llvm-project/commit/74ed79f7f123788d95f1552800e1af9ceaee4a08
  Author: Ryan Holt <ryanholt at mathworks.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ConstantFold.cpp
    A mlir/test/Dialect/Linalg/constant-fold.mlir
    M mlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir

  Log Message:
  -----------
  [mlir][linalg] Add linalg.transpose constant folding (#92589)

There was existing support for constant folding a `linalg.generic` that
was actually a transpose. This commit adds support for the named op,
`linalg.transpose`, as well by making use of the `LinalgOp` interface.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list