[all-commits] [llvm/llvm-project] c886d6: [mlir] Add reshape propagation patterns for tensor...

Max191 via All-commits all-commits at lists.llvm.org
Fri Jun 7 06:09:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c886d66da03bdf26e6fca68a1b730ae6eb923194
      https://github.com/llvm/llvm-project/commit/c886d66da03bdf26e6fca68a1b730ae6eb923194
  Author: Max191 <44243577+Max191 at users.noreply.github.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
    M mlir/test/Dialect/Linalg/fuse-with-reshape-by-collapsing.mlir
    M mlir/test/Dialect/Linalg/reshape_fusion.mlir

  Log Message:
  -----------
  [mlir] Add reshape propagation patterns for tensor.pad (#94489)

This PR adds fusion by collapsing and fusion by expansion patterns for
`tensor.pad` ops in ElementwiseOpFusion. Pad ops can be expanded or
collapsed as long as none of the padded dimensions will be expanded or
collapsed.



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